:root { --blau: #1559b0; --blau-dunkel: #0e3f80; --blau-hell: #eaf2fc; --rot: #b3141a; --gruen: #1d7a35; --rand: #b7c4d4; color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 1.2rem; line-height: 1.5; color: #1b1b1b; background: #f4f6f9; padding-bottom: 7rem; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: .25rem solid #f5a700; outline-offset: .15rem; }
h1 { font-size: 1.9rem; margin: 1.5rem 0 1rem; }

.kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; background: #fff; border-bottom: .3rem solid var(--blau); }
.kopf img { width: 12rem; }
.kopf-rechts { display: flex; flex-wrap: wrap; gap: .5rem; }
.kopf-rechts form { margin: 0; }

.reiter { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem; background: #fff; border-bottom: .1rem solid var(--rand); }
.reiter button { font: inherit; font-weight: 600; padding: .7rem 1.1rem; border-radius: .5rem; border: .15rem solid var(--rand); background: #fff; cursor: pointer; }
.reiter button[aria-current="page"] { background: var(--blau); border-color: var(--blau); color: #fff; }

main { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }

.knopf { font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.2rem; border-radius: .6rem; border: .15rem solid var(--blau); background: var(--blau); color: #fff; text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--blau-dunkel); }
.knopf.zweit { background: #fff; color: var(--blau-dunkel); }
.knopf.zweit:hover { background: var(--blau-hell); }
.knopf.rot { border-color: var(--rot); color: var(--rot); }
.knopf.gross { font-size: 1.25rem; min-height: 3.5rem; padding-inline: 1.75rem; }
.knopf:disabled { opacity: .6; cursor: wait; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }

fieldset { border: .15rem solid var(--rand); border-radius: .75rem; background: #fff; margin: 0 0 1.5rem; padding: 1rem 1.25rem; }
legend { font-weight: 700; font-size: 1.3rem; padding: 0 .5rem; }
.formular { background: #fff; border: .15rem solid var(--rand); border-radius: .75rem; padding: 1rem 1.25rem; }
.feld { margin-bottom: 1.25rem; }
.feld > label, .feld .label { display: block; font-weight: 700; margin-bottom: .3rem; }
.hilfe { margin: 0 0 .4rem; color: #4a4a4a; font-size: 1.05rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], select, textarea {
  font: inherit; width: 100%; padding: .6rem .75rem; border: .15rem solid #7d8ca0; border-radius: .5rem; background: #fff;
}
textarea { resize: vertical; }
.haken { display: flex; gap: .75rem; align-items: flex-start; }
.haken input { width: 1.75rem; height: 1.75rem; flex: none; margin-top: .1rem; }
.haken label { font-weight: 600; }
.versteckt { position: absolute; width: 1px; height: 1px; opacity: 0; }

.fotos { list-style: none; padding: 0; margin: .5rem 0 1rem; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.fotos li { display: flex; flex-direction: column; gap: .4rem; }
.fotos img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; width: 100%; }
button.klein { font: inherit; font-size: 1rem; padding: .35rem .5rem; border-radius: .4rem; border: .15rem solid var(--rand); background: #fff; cursor: pointer; }
button.klein.rot { color: var(--rot); border-color: var(--rot); }

.eintraege { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.eintraege li { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; background: #fff; border: .15rem solid var(--rand); border-radius: .75rem; padding: .75rem; }
.eintraege img, .ohne-bild { width: 8rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .4rem; flex: none; }
.ohne-bild { display: grid; place-items: center; background: #e7ebf0; color: #555; font-size: 1rem; }
.eintrag-text { flex: 1 1 12rem; display: flex; flex-direction: column; }
.eintrag-knoepfe { display: flex; gap: .5rem; flex-wrap: wrap; }

.leiste { position: fixed; inset: auto 0 0 0; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: flex-end; padding: .75rem 1rem; background: #fff; border-top: .2rem solid var(--rand); box-shadow: 0 -.25rem 1rem rgb(0 0 0 / .08); }
#status { margin: 0; flex: 1 1 16rem; font-weight: 600; }
#status.warnung { color: #8a5a00; }
#status.ok { color: var(--gruen); }
#status.fehler { color: var(--rot); }
#speichern { background: var(--gruen); border-color: var(--gruen); }

.anmelden main { max-width: 28rem; margin: 3rem auto; background: #fff; padding: 2rem; border-radius: 1rem; border: .15rem solid var(--rand); }
.anmelden img { width: 14rem; margin: 0 auto 1rem; }
.anmelden h1 { font-size: 1.6rem; text-align: center; }
.anmelden label { display: block; font-weight: 700; margin-bottom: .3rem; }
.anmelden button { font: inherit; font-weight: 700; width: 100%; margin-top: 1rem; min-height: 3.5rem; border-radius: .6rem; border: 0; background: var(--blau); color: #fff; cursor: pointer; }
.fehler { color: var(--rot); font-weight: 700; }
