:root {
  --grund: #ecebf1; --karte: #fff; --text: #16151c; --leise: #6d6a7c; --linie: #e3e1ea;
  --akzent: #7c6fd6; --akzent-hell: #efedfb; --rund: 1.75rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.55 Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: inherit; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 .4rem; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
p { margin: 0 0 .8rem; }
.leise { color: var(--leise); font-size: .92rem; }
.unsichtbar { position: absolute; left: -9999px; }

.kopf { max-width: 60rem; margin: 0 auto; padding: 1.25rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.marke small { font-weight: 400; color: var(--leise); font-size: .9rem; }
.punkt { width: .8rem; height: .8rem; border-radius: 50%; background: var(--akzent); }
.kopf nav { display: flex; align-items: center; gap: 1.1rem; font-size: .95rem; }
.kopf nav a:not(.knopf) { text-decoration: none; color: var(--leise); }
.kopf nav a:not(.knopf):hover { color: var(--text); }

main { max-width: 60rem; margin: 0 auto; padding: 0 1rem 3rem; }
footer { max-width: 60rem; margin: 0 auto; padding: 0 1rem 2.5rem; color: var(--leise); font-size: .85rem; text-align: center; }

.karte { background: var(--karte); border-radius: var(--rund); padding: 1.75rem; margin-bottom: 1rem; }
.karte.schmal { max-width: 42rem; margin-inline: auto; }
.karte.leer { text-align: center; padding: 3rem 1.75rem; }
.karte.leer p { max-width: 30rem; margin: 0 auto 1.4rem; color: var(--leise); }
.karte.liste { padding: .6rem; }
.karte.beitrag { margin-left: 0; margin-right: 2.5rem; }
.karte.beitrag.team { margin-left: 2.5rem; margin-right: 0; background: var(--akzent-hell); }
.innen { padding: 1.2rem; margin: 0; }

.titelzeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.karte .titelzeile { margin-bottom: .6rem; }
.zurueck { margin: 0 0 .8rem .4rem; font-size: .92rem; }
.zurueck a { color: var(--leise); text-decoration: none; }

.zeile { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .8rem; align-items: center; padding: .95rem 1.1rem; border-radius: 1.2rem; text-decoration: none; }
.zeile:hover { background: var(--grund); }
.zeile + .zeile { border-top: 1px solid var(--linie); }
.zeile:hover + .zeile, .zeile:hover { border-top-color: transparent; }
.zeile .nr { color: var(--leise); font-variant-numeric: tabular-nums; }
.zeile .t { min-width: 0; }
.zeile .t strong { display: block; overflow-wrap: anywhere; }
.zeile .t small { color: var(--leise); }

.status { display: inline-block; padding: .2rem .7rem; border-radius: 99px; font-size: .8rem; font-weight: 600; white-space: nowrap; background: var(--grund); }
.s-neu { background: var(--akzent-hell); color: #4a3fb0; }
.s-in_arbeit { background: #fff3d6; color: #7a5600; }
.s-rueckfrage { background: #ffe3da; color: #a03214; }
.s-erledigt { background: #def3e4; color: #1d6b38; }
.s-eilig { background: #16151c; color: #fff; }

.knopf { display: inline-block; background: #16151c; color: #fff; border: 0; border-radius: 99px; padding: .7rem 1.3rem; font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.knopf:hover { background: #33313f; }
.knopf.hell { background: var(--grund); color: var(--text); }
.knopf.hell:hover { background: #dfdde8; }
.knopf:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }

form label, .feld { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 1.1rem; }
.feld > span { display: block; }
form label .leise { font-weight: 400; }
input:not([type=checkbox]):not([type=file]), textarea, select { display: block; width: 100%; margin-top: .35rem; padding: .75rem .95rem; border: 1px solid var(--linie); border-radius: 1rem; background: #fbfbfd; font: inherit; color: inherit; }
textarea { resize: vertical; }
label.haken { display: flex; align-items: center; gap: .6rem; font-weight: 400; }
label.haken input { width: 1.1rem; height: 1.1rem; accent-color: var(--akzent); }
.knoepfe { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.knoepfe a { color: var(--leise); }
.reihe { display: flex; gap: .7rem; align-items: flex-end; flex-wrap: wrap; }
.reihe label { margin: 0; }
.reihe input { margin: 0 !important; flex: 1; min-width: 14rem; width: auto !important; }
.werkzeug { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
details { margin-top: 1rem; }
summary { cursor: pointer; color: var(--leise); margin-bottom: 1rem; }

.ablage { margin-top: .35rem; border: 2px dashed #cfccdc; border-radius: 1.2rem; padding: 1.2rem; text-align: center; font-weight: 400; background: #fbfbfd; transition: background .15s, border-color .15s; }
.ablage.drueber { background: var(--akzent-hell); border-color: var(--akzent); }
.ablage input[type=file] { position: absolute; left: -9999px; }
.ablage label { margin: 0; font-weight: 400; color: var(--leise); cursor: pointer; }
.ablage label strong { color: var(--text); text-decoration: underline; }
.auswahl { list-style: none; padding: 0; margin: 0; text-align: left; }
.auswahl li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--linie); border-radius: .8rem; padding: .45rem .5rem .45rem .9rem; margin-top: .5rem; font-size: .92rem; overflow-wrap: anywhere; }
.auswahl li:first-child { margin-top: 1rem; }
.auswahl button { border: 0; background: var(--grund); border-radius: 99px; padding: .25rem .7rem; font: inherit; font-size: .85rem; cursor: pointer; }

.text { overflow-wrap: anywhere; }
.anhaenge { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.anhaenge .bild { width: 11rem; text-decoration: none; font-size: .8rem; color: var(--leise); }
.anhaenge .bild img { display: block; width: 100%; height: 7.5rem; object-fit: cover; border-radius: 1rem; border: 1px solid var(--linie); background: var(--grund); }
.anhaenge .bild span { display: block; margin-top: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.anhaenge .datei { align-self: flex-start; background: var(--grund); border-radius: 99px; padding: .45rem 1rem; text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; }
.anhaenge .datei small { color: var(--leise); }

.meldung { background: #16151c; color: #fff; border-radius: 1.2rem; padding: .9rem 1.3rem; }
.fehler { background: #ffe3da; color: #8a2a10; border-radius: 1rem; padding: .7rem 1rem; }

.reiter { display: flex; gap: .3rem; background: #fff; border-radius: 99px; padding: .3rem; }
.reiter a { padding: .4rem 1rem; border-radius: 99px; text-decoration: none; font-size: .92rem; color: var(--leise); }
.reiter a.aktiv { background: #16151c; color: #fff; }
.reiter small { opacity: .7; }

@media (max-width: 600px) {
  .karte { padding: 1.25rem; border-radius: 1.4rem; }
  .karte.beitrag, .karte.beitrag.team { margin-inline: 0; }
  .zeile { grid-template-columns: 1fr; gap: .3rem; }
  .zeile .nr { display: none; }
  h1 { font-size: 1.4rem; }
}
