body {
  margin: 0;
  padding-bottom: 70px;
  background: #fff;
  color: #6141ac;
  font: 15px Helvetica, Arial, "Liberation Sans", sans-serif;
}

a { color: #6141ac; }
h1 { font-size: 19px; text-align: center; margin: 0 0 16px; }
h2 { font-size: 16px; margin: 24px 0 8px; }

main { max-width: 640px; margin: 48px auto; padding: 0 16px; }

.navi { display: flex; background: #6141ac; border-bottom: 1px solid #4b3187; }
.navi a { color: #fff; font-weight: bold; text-decoration: none; padding: 8px 16px; border-right: 1px solid #8a72c6; }
.navi a.aktiv { background: #fff; color: #6141ac; }
.unternavi { background: #f0ecf8; border-bottom: 1px solid #6141ac; padding: 6px 16px; }
.unternavi a { margin-right: 18px; }
.unternavi a.aktiv { font-weight: bold; text-decoration: none; }

form.schmal { max-width: 300px; margin: 0 auto; }
label { display: block; margin: 12px 0 4px; font-size: 16px; }
label.option { display: inline; margin: 0 16px 0 0; }
.hinweis { font-size: 12px; color: #6f6f6f; margin: 2px 0 4px; }
.zaehler { font-size: 12px; color: #6f6f6f; text-align: right; margin-top: 2px; font-variant-numeric: tabular-nums; }
.zaehler.ueber { color: #cc0000; font-weight: bold; }

input, select, textarea, pre { font-family: monospace; font-size: 15px; color: #6141ac; }
input[type=text], input[type=password], input[type=email], select, textarea {
  width: 100%; box-sizing: border-box; padding: 5px; border: 1px solid #6141ac; border-radius: 0; background: #fff;
}
:focus { outline: 2px solid #6141ac; outline-offset: 1px; }
input::placeholder { color: #bfb1de; font-weight: bold; }

.ziffern { display: inline-block; white-space: nowrap; }
.ziffern input { width: 32px; height: 32px; padding: 0; margin-right: 6px; text-align: center; box-sizing: border-box; border: 1px solid #6141ac; }
.ziffern.gross input { width: 40px; height: 64px; font-size: 26px; }
.luecke { display: inline-block; width: 12px; }

fieldset { border: 1px solid #6141ac; margin: 0 0 16px; padding: 4px 14px 14px; }
legend { font-weight: bold; padding: 0 4px; }

button, .knopf {
  display: block; width: 100%; box-sizing: border-box; margin-top: 14px; padding: 12px;
  background: #6141ac; color: #fff; border: 1px solid #6141ac; border-radius: 0;
  font: bold 17px Helvetica, Arial, "Liberation Sans", sans-serif; text-align: center; text-decoration: none; cursor: pointer;
}
.knopf-zweit { background: #fff; color: #6141ac; }
.janein { display: flex; gap: 8px; padding: 0 4px 4px; }

.kasten { border: 1px solid #6141ac; padding: 4px; background: #fff; margin: 0 0 24px; }
.kasten-kopf { background: #6141ac; color: #fff; font-weight: bold; font-size: 24px; text-align: center; padding: 18px 8px; }
.kasten-gut .kasten-kopf { background: #457a00; }
.kasten-schlecht .kasten-kopf { background: #cc0000; }
.kasten pre { background: #f8f5ff; margin: 0; padding: 14px 16px; min-height: 90px; max-height: 60vh; overflow: auto; white-space: pre; }
.kasten .knopf { margin-top: 4px; padding: 10px; font-size: 16px; }
.frage { font-weight: bold; margin: 12px 8px 0; }

.altersanzeige { margin-top: 4px; padding: 22px 8px; text-align: center; font-weight: bold; font-size: 44px; letter-spacing: 1px; color: #fff; background: #cc0000; }
.altersanzeige-achtung { background: #ffb000; color: #000; }

.zahl { display: inline-block; min-width: 1.4em; margin-left: 4px; padding: 0 5px; border-radius: 9px; background: #cc0000; color: #fff; font-size: 13px; text-align: center; }
.kasten-grau .kasten-kopf { background: #6f6f6f; }
details.kasten > summary { cursor: pointer; list-style: none; }
details.kasten > summary::-webkit-details-marker { display: none; }
details.kasten > summary::after { content: " ▸"; }
details.kasten[open] > summary::after { content: " ▾"; }
.liste-rahmen { background: #f8f5ff; overflow-x: auto; }
table.liste { width: 100%; border-collapse: collapse; font: 15px monospace; color: #6141ac; }
table.liste th, table.liste td { text-align: left; padding: 7px 10px; white-space: nowrap; }
table.liste td:last-child { white-space: normal; }
table.liste th { font-weight: normal; border-bottom: 1px solid #6141ac; }
table.liste tbody tr + tr td { border-top: 1px dotted #cfc4ea; }
table.liste tr.ungelesen td { font-weight: bold; }
table.liste tbody tr:hover { background: #ece6fa; }
.knopfzeile button { background: #fff; color: #6141ac; }
.einleitung { margin-bottom: 24px; line-height: 1.45; }
.einleitung p { margin: 0 0 12px; }
.kopflogo { display: block; width: fit-content; margin: 0 auto 20px; }
.kopflogo .logo svg { display: block; height: 72px; width: auto; }
.kopflogo .logo svg * { fill: #6141ac !important; }
.kopflogo .logo svg [stroke]:not([stroke="none"]) { stroke: #6141ac !important; }
.referenzformular { width: fit-content; max-width: 100%; margin: 0 auto 32px; }
.ziffern .fest {
  display: inline-block; box-sizing: border-box; width: 40px; height: 64px; margin-right: 6px; vertical-align: middle;
  border: 1px solid #6141ac; background: #f0ecf8; font: 26px/62px monospace; text-align: center; user-select: none;
}
.ziffern.gross input { vertical-align: middle; }
.ziffern input.buchstabe { text-transform: uppercase; }
.mitte { text-align: center; }

/* Slogan nur bei viel Platz, sonst stehen nur die Links rechts */
@media (max-width: 1100px) {
  footer .slogan { display: none; }
  footer .konto { margin-left: auto; }
}
@media (max-width: 720px) {
  footer { padding: 10px 16px; font-size: 16px; }
}
/* Grosse Ziffernfelder (Referenz, Abfrage) passen so auch auf 360 px breite Telefone */
@media (max-width: 520px) {
  .ziffern.gross input, .ziffern .fest { width: 28px; height: 48px; margin-right: 3px; font-size: 20px; }
  .ziffern .fest { line-height: 46px; }
  .ziffern.gross .luecke { width: 6px; }
}
.unsichtbar { display: none; }

.mitteilung { border-width: 3px; padding: 14px 16px; background: #f8f5ff; }
.mitteilung-titel { font-weight: bold; font-size: 18px; margin-bottom: 6px; }
.mitteilung-text { white-space: pre-wrap; overflow-wrap: anywhere; }

.ueberlagerung { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(97, 65, 172, 0.12); display: flex; z-index: 10; align-items: center; justify-content: center; }
.ueberlagerung .kasten { width: 680px; max-width: 94vw; margin: 0; }

.unten { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; }
body:has(.jugendschutz-banner) { padding-bottom: 110px; }
.jugendschutz-banner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 32px;
  padding: 8px 38px; background: #ffb000; color: #000; font-size: 16px; border-top: 1px solid #b37b00;
}

footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 38px; background: #d9d9d9; font-size: 18px;
}
footer .marke { font-weight: bold; }
footer .konto a:not(:last-of-type) { margin-right: 10px; }
footer .marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
footer .logo svg { display: block; height: 1em; width: auto; }
footer .logo svg * { fill: #6141ac !important; }
footer .logo svg [stroke]:not([stroke="none"]) { stroke: #6141ac !important; }
