/* =====================================================================
   Verwaltungsbereich – hell
   ---------------------------------------------------------------------
   Die öffentliche Seite ist ein dunkles Matchcenter. Die Verwaltung ist
   bewusst das Gegenteil: heller Grund, ruhige Flächen, Symbole in der
   Leiste. Man sieht auf den ersten Blick, wo man ist – und arbeitet in
   einer hellen Maske stundenlang angenehmer als in einer dunklen.

   Die Farbtoken aus basis.css werden für diesen Bereich neu gesetzt.
   Schrift, Knöpfe, Formulare und Tabellen erben von dort.
   ===================================================================== */

.vw {
  /* Neutrale mit leichtem Warmstich, damit sich das Vereinsgelb einfügt. */
  --grund:        #f2f3f0;
  --flaeche:      #ffffff;
  --flaeche-hoch: #fafaf8;
  --sanft:        #f7f7f4;
  --linie:        #e4e5e0;
  --linie-stark:  #c8cac3;
  --text:         #16181b;
  --leise:        #656b72;
  --weiss:        #16181b;      /* Überschriften sind hier dunkel */

  --gelb-dunkel:  #a97f00;      /* Gelb als Textfarbe braucht auf Weiss Tiefe */
  --gruen:        #007136;
  --gruen-d:      #009045;
  --rot:          #c0392b;

  --schatten: 0 1px 2px rgba(16,18,20,.05), 0 8px 24px -18px rgba(16,18,20,.35);

  background: var(--grund);
  color: var(--text);
}

/* Was auf dunklem Grund hell sein musste, muss hier dunkel werden. */
.vw a { color: var(--gruen); }
.vw a:hover { color: var(--gruen-d); }
.vw .vorzeile { color: var(--gelb-dunkel); }
.vw h1, .vw h2, .vw h3 { color: var(--text); }
.vw .feld input, .vw .feld select, .vw .feld textarea { background: var(--flaeche); }
.vw .feld input::placeholder, .vw .feld textarea::placeholder { color: #9aa0a6; }
.vw .feld--haken input { accent-color: var(--gelb-dunkel); }
.vw thead th { background: var(--sanft); }
.vw tbody tr:hover td { background: var(--flaeche-hoch); }
.vw .knopf { border-radius: 7px; }
.vw .knopf--gelb { background: var(--gelb); color: #16181b; }
.vw .knopf--gelb:hover { background: #f0b400; }
.vw .knopf--rand, .vw .knopf--still { background: var(--flaeche); border-color: var(--linie-stark); color: var(--text); }
.vw .knopf--rand:hover, .vw .knopf--still:hover { border-color: var(--gruen); color: var(--gruen); }
.vw .knopf--gefahr { background: var(--flaeche); color: var(--rot); border-color: #eaa79e; }
.vw .knopf--gefahr:hover { background: var(--rot); color: #fff; border-color: var(--rot); }
.vw .merker { background: var(--sanft); color: var(--leise); border-color: var(--linie-stark); }
.vw .merker--gut  { background: #e6f4ec; color: #00662f; border-color: #9cd4b4; }
.vw .merker--warn { background: #fff6de; color: #8a6800; border-color: #e8c96a; }
.vw .merker--stop { background: #fdecea; color: #a4291c; border-color: #eaa79e; }
.vw .hinweis          { background: #ecf7f1; border-left-color: var(--gruen); }
.vw .hinweis--warnung { background: #fff8e6; border-left-color: #d9a200; }
.vw .hinweis--fehler  { background: #fdeeec; border-left-color: var(--rot); }
.vw .filter { background: var(--flaeche); }
.vw .filter--aktiv { background: var(--text); border-color: var(--text); color: #fff; }
.vw .blaettern a { background: var(--flaeche); }
.vw .blaettern__hier { background: var(--text); border-color: var(--text); color: #fff; }
.vw code { background: var(--sanft); border: 1px solid var(--linie); padding: .08em .38em; border-radius: 4px; font-size: .92em; }

/* ---------- Symbole --------------------------------------------------- */

.symbol { flex: none; vertical-align: -.18em; }

/* ---------- Kopfleiste ------------------------------------------------ */

.vw-kopf {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 22px; min-height: 58px;
  background: var(--flaeche); border-bottom: 1px solid var(--linie);
}
.vw-marke { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.vw-marke span {
  font-family: var(--schrift-titel); font-size: 1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em;
}
.vw-kopf__rechts { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.vw-kopf__rechts a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--leise); text-decoration: none; white-space: nowrap; font-size: var(--t-s);
}
.vw-kopf__rechts a:hover { color: var(--gruen); }

@media (max-width: 620px) {
  .vw-kopf { padding-inline: 16px; gap: 12px; }
  .vw-kopf__rechts > span { display: none; }
  .vw-marke span { font-size: .92rem; }
}
@media (max-width: 430px) {
  .vw-kopf__rechts a span { display: none; }   /* dann bleiben nur die Symbole */
}

/* ---------- Anordnung -------------------------------------------------- */

.vw-raum { display: grid; grid-template-columns: 232px 1fr; align-items: start; }

.vw-leiste {
  position: sticky; top: 58px; align-self: start;
  max-height: calc(100vh - 58px); overflow-y: auto;
  background: var(--flaeche); border-right: 1px solid var(--linie);
  padding: 14px 10px;
}
.vw-leiste ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.vw-leiste a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; margin-bottom: 1px; border-radius: 7px;
  color: var(--text); text-decoration: none; font-size: var(--t-s); font-weight: 500;
}
.vw-leiste a .symbol { color: var(--leise); }
.vw-leiste a:hover { background: var(--sanft); }
.vw-leiste a:hover .symbol { color: var(--gruen); }
.vw-leiste a.hier { background: #fff6de; color: #8a6800; font-weight: 600; }
.vw-leiste a.hier .symbol { color: var(--gelb-dunkel); }

.vw-inhalt { padding: 28px clamp(20px, 3vw, 40px) 90px; min-width: 0; }
.vw-titel {
  font-family: var(--schrift-titel); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 1.95rem); letter-spacing: -.022em;
  margin: 0 0 24px; display: flex; align-items: center; gap: 12px;
}
.vw-titel .symbol { color: var(--gelb-dunkel); }
.vw-inhalt h2 { font-size: var(--t-xl); margin-top: 0; }
.vw-inhalt section + section { margin-top: 34px; }

.vw-menueknopf { display: none; }

@media (max-width: 900px) {
  .vw-raum { grid-template-columns: 1fr; }
  .vw-menueknopf {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 14px 20px 0; padding: 10px 16px;
    background: var(--flaeche); border: 1px solid var(--linie-stark);
    border-radius: 7px; cursor: pointer; font-size: var(--t-s); font-weight: 600;
  }
  .vw-leiste { display: none; position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--linie); }
  #vw-schalter:checked ~ .vw-leiste { display: block; }
}

/* ---------- Kacheln und Spalten --------------------------------------- */

.vw-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 30px; }
.vw-kachel {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px;
  padding: 16px 18px; text-decoration: none;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px;
  box-shadow: var(--schatten);
}
.vw-kachel:hover { border-color: var(--gelb); }
.vw-kachel__bild {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 9px; background: #fff6de; color: var(--gelb-dunkel);
}
.vw-kachel b {
  display: block; font-family: var(--schrift-titel); font-size: 1.6rem; font-weight: 800;
  line-height: 1; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums;
}
.vw-kachel .wort {
  display: block; font-size: var(--t-xs); text-transform: uppercase;
  letter-spacing: .1em; color: var(--leise); margin-top: 4px;
}

.vw-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

/* ---------- Werkzeugleiste -------------------------------------------- */

.vw-werkzeuge {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
}
.vw-werkzeuge form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vw-werkzeuge select, .vw-werkzeuge input[type=search] {
  padding: 9px 12px; font-family: var(--schrift); font-size: var(--t-s);
  border: 1px solid var(--linie-stark); border-radius: 7px;
  background: var(--flaeche); color: var(--text);
}

/* ---------- Formulare -------------------------------------------------- */

.vw-formular {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 10px; padding: 24px; box-shadow: var(--schatten);
}
.vw-formular .feld { max-width: 640px; }
.vw-formular__reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 20px; }
.vw-formular__reihe .feld { max-width: none; }
.vw-leiste-unten {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--linie);
}
.vw .tabelle-huelle { border-radius: 10px; }

/* Anmeldeseite */
.vw--anmelden { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.anmeldekarte {
  width: min(100%, 390px); background: var(--flaeche);
  border: 1px solid var(--linie); border-top: 3px solid var(--gelb);
  border-radius: 12px; padding: 34px 30px; box-shadow: var(--schatten);
}
.anmeldekarte h1 {
  font-family: var(--schrift-titel); font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.022em; margin: 14px 0 0; color: var(--text);
}
.anmeldekarte form { margin-top: 22px; }
.anmeldekarte .knopf { width: 100%; justify-content: center; }

/* ---------- Feldliste des Anmeldeformulars ---------------------------- */

.feldkopf {
  display: grid; grid-template-columns: 1fr 130px 110px 130px 76px 84px 70px 62px auto; gap: 10px;
  padding: 0 14px 8px; font-size: var(--t-xs); text-transform: uppercase;
  letter-spacing: .09em; color: var(--leise);
}
.feldzeile {
  display: grid; grid-template-columns: 1fr 130px 110px 130px 76px 84px 70px 62px auto; gap: 10px;
  align-items: center; padding: 11px 14px; margin-bottom: 6px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 8px;
}
.feldzeile__typ { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--leise); }
.feldzeile label { display: flex; justify-content: center; }
.feldzeile input[type=checkbox] { accent-color: var(--gelb-dunkel); width: 17px; height: 17px; }
@media (max-width: 900px) {
  .feldkopf { display: none; }
  .feldzeile { grid-template-columns: 1fr 1fr; }
}

/* ---------- Bildraster ------------------------------------------------- */

.bildraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.bildkarte {
  margin: 0; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 9px; overflow: hidden;
}
.bildkarte--wartet { border-color: var(--gelb); box-shadow: 0 0 0 1px var(--gelb); }
.bildkarte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bildkarte figcaption { padding: 10px; display: grid; gap: 7px; }
.bildkarte input[type=text], .bildkarte select {
  width: 100%; padding: 7px 9px; font-family: var(--schrift); font-size: var(--t-xs);
  background: var(--flaeche); color: var(--text); border: 1px solid var(--linie-stark); border-radius: 5px;
}
.bildkarte__fuss { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bildkarte__fuss input[type=number] {
  padding: 6px 8px; font-size: var(--t-xs); background: var(--flaeche); color: var(--text);
  border: 1px solid var(--linie-stark); border-radius: 5px;
}
.bildkarte__fuss label { display: flex; align-items: center; gap: 5px; color: var(--leise); }

/* Dateiauswahl */
.vw .feld input[type=file] {
  width: 100%; padding: 11px; font-family: var(--schrift); font-size: var(--t-s); color: var(--text);
  background: var(--sanft); border: 1px dashed var(--linie-stark); border-radius: 8px;
}
.vw .feld input[type=file]::file-selector-button {
  font-family: var(--schrift); font-weight: 600; font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: .08em; margin-right: 12px;
  padding: .5em 1em; border: 0; border-radius: 5px; cursor: pointer;
  background: var(--gelb); color: #16181b;
}

/* ---------- Hinweis auf die lokale Abkürzung ---------------------------
   Absichtlich laut. Wer das auf einem Server sieht, muss stutzig werden.
   -------------------------------------------------------------------- */
.vw-lokalstreifen {
  margin: 0; padding: 9px 20px;
  background: repeating-linear-gradient(135deg,
              #ffe9a8 0 14px, #ffdf85 14px 28px);
  color: #4a3800; border-bottom: 2px solid #d9a400;
  font-size: var(--t-xs); letter-spacing: .02em;
}

/* ---------- Bildfeld ---------------------------------------------------
   Links die quadratische Bühne, rechts die Bedienung. Der Ausschnitt
   wird durch Ziehen im Bild gesetzt, nicht durch Zuschneiden – das Bild
   bleibt vollständig erhalten.
   -------------------------------------------------------------------- */

.bildfeld { margin-bottom: 22px; }
.feld__beschriftung {
  display: block; font-size: var(--t-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--leise); margin-bottom: 8px;
}

.bildfeld__buehne { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }

.bildfeld__vorschau {
  position: relative; flex: 0 0 auto;
  width: 190px; height: 190px;
  border: 2px dashed var(--linie-stark); border-radius: 12px;
  overflow: hidden; background: var(--sanft);
  display: flex; align-items: center; justify-content: center;
  cursor: grab; touch-action: none;
  transition: border-color .12s ease, background .12s ease;
}
.bildfeld--breit .bildfeld__vorschau { width: 300px; height: 170px; }

.bildfeld__vorschau img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  display: block; pointer-events: none; user-select: none;
}
.bildfeld__vorschau.ist-leer { cursor: default; }
.bildfeld__vorschau.ist-ziel { border-color: var(--gelb-dunkel); background: #fdf6df; }
.bildfeld__vorschau.ist-am-ziehen { cursor: grabbing; border-style: solid; }

/* Fadenkreuz beim Ziehen – zeigt, dass hier der Mittelpunkt gesetzt wird. */
.bildfeld__vorschau.ist-am-ziehen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, transparent calc(50% - 1px), rgba(255,255,255,.85) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom, transparent calc(50% - 1px), rgba(255,255,255,.85) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}

.bildfeld__leer {
  font-size: var(--t-xs); color: var(--leise); text-align: center;
  padding: 0 14px; line-height: 1.5;
}

.bildfeld__seite { flex: 1 1 220px; min-width: 0; }
.bildfeld__seite > p:first-child { margin-top: 0; }

/* Das echte Dateifeld verstecken, aber erreichbar lassen – die
   Beschriftung davor ist der sichtbare Knopf. */
.bildfeld__datei {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.bildfeld__datei:focus-visible + label { outline: 2px solid var(--gelb-dunkel); outline-offset: 2px; }

.bildfeld__fokus {
  border: 0; padding: 0; margin: 14px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: flex-end;
}
.bildfeld__fokus legend { padding: 0; margin-bottom: 6px; }
.bildfeld__fokus label { display: flex; flex-direction: column; gap: 3px; color: var(--leise); }
.bildfeld__fokus input { width: 74px; }
.bildfeld__fokus > p { flex: 1 0 100%; margin: 2px 0 0; }

/* Kleines Vorschaubild in Listen. */
.mit-bild { display: flex; align-items: center; gap: 10px; }
.listenbild {
  flex: 0 0 auto; width: 34px; height: 34px;
  border-radius: 50%; object-fit: cover; object-position: 50% 50%;
  border: 1px solid var(--linie);
}
.listenbild--leer { display: inline-block; background: var(--sanft); }

/* ---------- Dichte Listen ---------------------------------------------
   Bei 85 Zeilen zählt jede Zeilenhöhe. Weniger Luft, kleinere Schrift,
   und was sich als Zeichen sagen lässt, steht nicht als Wort da.
   -------------------------------------------------------------------- */

.tabelle-huelle table td { padding-block: 7px; }
.tabelle-huelle table th { padding-block: 8px; font-size: 11px; }

/* Logo in eine feste Fläche stellen, damit alle Zeilen gleich hoch
   bleiben – sonst bestimmt das höchste Logo die Zeile. */
.logofeld {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 30px;
  background: #fff; border: 1px solid var(--linie); border-radius: 4px;
}
.logofeld img { max-width: 52px; max-height: 24px; width: auto; height: auto; }

.merker--winzig {
  font-size: 10px; padding: 2px 6px; letter-spacing: .05em;
}

/* Ein Punkt sagt „ja" auf kleinstem Raum. */
.punkt {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--linie-stark); vertical-align: middle; margin-left: 5px;
}
.punkt--gut { background: var(--gruen, #007136); }

.mittig { text-align: center; }

/* Zeichenspalten dürfen nicht umbrechen – sonst wird die Zeile doppelt
   so hoch, nur weil Auge und Punkt nebeneinander nicht mehr passen. */
.nicht-umbrechen { white-space: nowrap; }
.nicht-umbrechen .symbol { vertical-align: middle; }

/* ---------- Sektionswahl in der Liste ---------------------------------
   Fünf Kästchen je Zeile wären zu viel Text. Stattdessen zwei
   Buchstaben je Sektion, angehakt hervorgehoben – so bleibt die Spalte
   schmal und man sieht auf einen Blick, wo der Sponsor erscheint.
   -------------------------------------------------------------------- */

.sektionswahl { display: flex; gap: 4px; flex-wrap: wrap; }
.sektionswahl label { position: relative; cursor: pointer; }
.sektionswahl input {
  position: absolute; opacity: 0; width: 100%; height: 100%;
  margin: 0; cursor: pointer;
}
.sektionswahl span {
  display: block; min-width: 28px; padding: 4px 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; text-align: center;
  color: var(--leise); background: var(--sanft);
  border: 1px solid var(--linie); border-radius: 5px;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.sektionswahl label:hover span { border-color: var(--linie-stark); }
.sektionswahl input:checked + span {
  background: var(--gelb); color: #16181b; border-color: var(--gelb-dunkel, #d9a400);
}
.sektionswahl input:focus-visible + span {
  outline: 2px solid var(--gelb-dunkel, #d9a400); outline-offset: 1px;
}

/* Zwei Bildfelder nebeneinander (Logo PNG und JPG). */
.bildpaar { display: flex; flex-wrap: wrap; gap: 26px; }
.bildpaar > .bildfeld { flex: 1 1 320px; min-width: 0; }

/* Dichte Liste: kleinere Schrift, weniger Luft, Zeilen umbrechen nicht.
   Bei 85 Zeilen macht das den Unterschied zwischen Überblick und
   Endlosscrollen. */
table.dicht { font-size: var(--t-xs); }
table.dicht td { padding: 5px 10px; vertical-align: middle; }
table.dicht th { padding: 7px 10px; }
table.dicht td.klein a { font-size: var(--t-xs); }

/* ---------- Schreibhilfe ----------------------------------------------
   Kleine Leiste über dem Textfeld. Bewusst kein WYSIWYG-Editor: der
   bringt Fremdcode mit und erzeugt am Ende doch HTML, das niemand
   nachvollziehen kann.
   -------------------------------------------------------------------- */

.schreibhilfe { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.schreibhilfe button {
  padding: 6px 12px; font-size: var(--t-xs); font-weight: 600;
  font-family: inherit; color: var(--text);
  background: var(--flaeche); border: 1px solid var(--linie-stark);
  border-radius: 7px; cursor: pointer;
  transition: background .12s ease, border-color .12s ease;
}
.schreibhilfe button:hover { background: var(--sanft); border-color: var(--gelb-dunkel); }
.schreibhilfe button:active { background: #fdf3d6; }

.schreibhilfe__hilfe { margin-top: 8px; font-size: var(--t-xs); }
.schreibhilfe__hilfe summary { cursor: pointer; color: var(--leise); }
.schreibhilfe__hilfe summary:hover { color: var(--text); }
.schreibhilfe__hilfe ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--leise); }
.schreibhilfe__hilfe li { margin-bottom: 4px; }
.schreibhilfe__hilfe code {
  background: var(--sanft); padding: 1px 5px; border-radius: 4px;
  font-size: .95em; color: var(--text);
}

/* Beim Schreiben zählt Lesbarkeit, nicht Kompaktheit. */
#beitragstext { font-size: 1rem; line-height: 1.6; }

/* ---------- Mehrere Bilder ablegen ------------------------------------ */

.mehrfachablage {
  position: relative; margin-top: 16px;
  border: 2px dashed var(--linie-stark); border-radius: 12px;
  background: var(--sanft); text-align: center;
  transition: border-color .12s ease, background .12s ease;
}
.mehrfachablage.ist-ziel { border-color: var(--gelb-dunkel); background: #fdf6df; }
.mehrfachablage input[type=file] {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%);
}
.mehrfachablage label {
  display: block; padding: 28px 20px; cursor: pointer;
  font-size: var(--t-s); color: var(--leise);
}
.mehrfachablage label b { color: var(--text); }
.mehrfachablage input:focus-visible + label { outline: 2px solid var(--gelb-dunkel); outline-offset: -4px; }
.mehrfachablage > p { padding: 0 20px 16px; margin: 0; }

/* Bildkarte in der Galerie. */
.bildkarte {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 10px;
}
.bildkarte img {
  width: 100%; height: 120px; object-fit: cover;
  border-radius: 6px; background: var(--sanft);
}
.bildkarte__fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Feld zum Kopieren eines Links – bewusst als Eingabefeld, damit man
   den Inhalt mit einem Klick markieren kann. */
.linkfeld {
  width: 100%; padding: 10px 12px;
  font-family: var(--schrift-fest, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: var(--t-xs); color: var(--text);
  background: #fff; border: 1px solid var(--linie-stark); border-radius: 7px;
  cursor: text;
}
.linkfeld:focus { border-color: var(--gelb-dunkel); outline: none; }

.bildkarte--wartet { border-color: var(--gelb-dunkel); background: #fffaec; }

/* Grüner Knopf: In der Verwaltung färbt `.vw a` alle Verweise grün –
   das hat auch die Beschriftung erwischt, und ein grüner Text auf
   grünem Grund ist unsichtbar. Hier wird sie zurückgeholt. */
.vw .knopf--gruen,
.vw a.knopf--gruen { background: var(--gruen); color: #fff; border-color: var(--gruen); }
.vw .knopf--gruen:hover,
.vw a.knopf--gruen:hover { background: var(--gruen-d, #009045); color: #fff; }

/* ---------- Funktionen einer Person ------------------------------------
   Je Zeile: Bereich, Aufgabe, Reihenfolge, weg. Bewusst als Reihe und
   nicht als Tabelle – es sind selten mehr als drei.
   -------------------------------------------------------------------- */

.funktionsliste { margin-bottom: 10px; }
.funktionszeile {
  display: grid;
  grid-template-columns: 200px 1fr 70px 60px;
  gap: 8px; align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--linie);
}
.funktionsliste .funktionszeile:first-child { border-top: 0; }
.funktionszeile--neu {
  border-top: 1px dashed var(--linie-stark);
  padding-top: 12px; margin-top: 4px;
}
.funktionszeile input, .funktionszeile select { margin: 0; }
.funktionszeile .feld--haken { justify-content: center; margin: 0; }

@media (max-width: 760px) {
  .funktionszeile { grid-template-columns: 1fr 1fr; }
}

/* Bereich fett vor der Aufgabe – „Vorstand Kassier" liest sich in der
   Liste schneller als zwei getrennte Merker. */
.merker--winzig b { font-weight: 700; opacity: .65; margin-right: 3px; }
