/* Vorstandsarchiv — was die Vereinsseite nicht hat.
 *
 * Grundlage ist vereinsseite.css, die unveraenderte Datei von fcdhomepage:
 * Farben, Schriften, Kopfzeile (.kopf, .marke), Knoepfe (.knopf). Hier steht
 * nur, was dazukommt — in derselben Sprache wie KIFU: Oswald in Gross-
 * buchstaben fuer Titel, Plex Mono fuer Beschriftungen, Ecken mit 3 px.
 */
:root {
  --rot: #b3261e;
  --gruen: #2e7d32;
  --rund: 3px;
}
body.archiv { background: var(--papier); min-height: 100vh; display: flex; flex-direction: column; }
.ahaupt { flex: 1; width: 100%; padding-block: 1.5rem 3rem; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ Kopfzeile */
.marke__zusatz { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em;
  color: var(--gelb); margin-left: .35rem; vertical-align: .2em; text-transform: uppercase; }
.anav { margin-left: auto; display: flex; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; }
.anav__link { padding: .6rem .62rem; font-size: .875rem; font-weight: 600; color: var(--weiss); text-decoration: none;
  border-radius: 4px; white-space: nowrap; }
.anav__link:hover { background: rgba(255, 255, 255, .14); }
.afuss { padding: 1.25rem 0; background: var(--nacht); color: rgba(255,255,255,.6); font-family: var(--mono); font-size: .75rem; }

/* ------------------------------------------------------------ Bausteine */
.knopf { cursor: pointer; }
.knopf:not([class*="knopf--"]), .knopf.knopf--klein:not(.knopf--gelb):not(.knopf--rot):not(.knopf--blau) {
  background: var(--weiss); border-color: var(--linie); color: var(--nacht); }
.knopf:not([class*="knopf--"]):hover, .knopf.knopf--klein:not(.knopf--gelb):not(.knopf--rot):not(.knopf--blau):hover { border-color: var(--nacht); }
.knopf--klein { padding: .4rem .7rem; font-size: .8125rem; }
.knopf--rot { background: #fdecea; color: var(--rot); border-color: #f0c4c0; }
.klein { border: 0; background: none; color: var(--blau-text); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; padding: 0 4px; }
button:disabled { opacity: .3; cursor: default; }

.atitel { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 3.5vw, 2.4rem); line-height: 1.05;
  text-transform: uppercase; color: var(--nacht); margin: 0; overflow-wrap: anywhere; }
.utitel { font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; color: var(--nacht); margin: 0 0 .75rem; }
.utitel--klein { font-size: 1.1rem; margin-top: 1.5rem; }
.aunter { color: var(--nebel); margin: .35rem 0 1.25rem; }
.leer { color: var(--nebel); font-style: italic; padding: 2rem 0; }
.hinweis { color: var(--nebel); font-size: 13px; margin: 12px 0 0; }
.ameldung { padding: .75rem 1rem; border-radius: var(--rund); margin: 0 0 1rem; }
.ameldung--fehler { background: #fdecea; color: var(--rot); }
.ameldung--ok { background: #eef7ee; color: var(--gruen); }
.startpw code { font-size: 1.4rem; background: var(--weiss); padding: .3rem .6rem; border-radius: var(--rund); color: var(--tinte); user-select: all; }
.marke-klein { display: inline-block; padding: 1px 6px; background: var(--gelb); color: var(--nacht); font-family: var(--mono);
  font-size: .625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.marke-klein--grau { background: var(--papier); color: var(--nebel); }

input[type=password], input[type=search], input[type=text], input:not([type]) {
  font: inherit; padding: .6rem .8rem; border: 1px solid var(--linie); border-radius: var(--rund); width: 100%; background: var(--weiss); }
input:focus, select:focus { outline: 2px solid var(--blau); outline-offset: 1px; }

/* ------------------------------------------------------------ Anmelden */
.anmelden { max-width: 440px; margin: 2rem auto; background: var(--weiss); padding: 2rem; border-radius: var(--rund); border-top: 4px solid var(--gelb); }
.anmelden form, .formular { display: grid; gap: .5rem; margin-top: 1rem; max-width: 440px; }
.anmelden label, .formular label { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--nebel); margin-top: .35rem; }
.anmelden .knopf, .formular .knopf { justify-self: start; margin-top: .5rem; }
.formular .haken { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: .9rem; color: var(--tinte); }
.block { background: var(--weiss); border-radius: var(--rund); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }

/* ---------------------------------------------------------- Suche, Pfad */
.suchleiste { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.suchleiste input { flex: 1; min-width: 0; }
.pfad { display: flex; flex-wrap: wrap; gap: .25rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; margin-bottom: .4rem; }
.pfad a, .pfad span { padding: 2px 4px; border-radius: 3px; }
.pfad a { color: var(--blau-text); text-decoration: none; }
.pfad a:hover { text-decoration: underline; }
.pfad > * + *::before { content: "›"; color: var(--nebel); margin-right: .5rem; }
.pfad span { color: var(--nebel); }
.pfad a.ziel { background: var(--gelb); color: var(--nacht); }

.ordnerkopf { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.ordnerkopf__knoepfe { display: flex; flex-wrap: wrap; gap: .4rem; }
.ordnerkopf__knoepfe label.knopf { margin: 0; }

/* ---------------------------------------------------------------- Liste */
main.ueber .ablage { outline: 3px dashed var(--blau); outline-offset: 6px; border-radius: var(--rund); }
.aliste { width: 100%; border-collapse: collapse; background: var(--weiss); border-radius: var(--rund); overflow: hidden; font-size: .9375rem; }
.aliste th { text-align: left; font-family: var(--mono); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--nebel); padding: .6rem .75rem; border-bottom: 2px solid var(--linie); }
.aliste td { padding: .5rem .75rem; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.aliste tr.zeile:hover { background: #f7fafc; }
.aliste tr.gewaehlt { background: #fff8cc !important; }
.aliste tr.ueber { outline: 2px dashed var(--blau); outline-offset: -2px; background: #f2f9fd; }
.aliste tr.ziel { background: var(--gelb) !important; }
.aliste tr.arbeitet { opacity: .5; }
.aliste__wahl { width: 2rem; }
.aliste__wahl input { width: 1rem; height: 1rem; cursor: pointer; }
.aliste__name { min-width: 0; }
.aliste__name > a:not(.wo):not(.marke-dup) { display: inline-flex; align-items: center; gap: .65rem; color: var(--tinte); text-decoration: none; font-weight: 600; max-width: 100%; }
.aliste__name > a:hover .name { text-decoration: underline; color: var(--blau-text); }
.name { overflow-wrap: anywhere; }
.wo { display: block; margin-left: 2.6rem; font-size: .75rem; color: var(--nebel); text-decoration: none; overflow-wrap: anywhere; }
a.wo:hover { text-decoration: underline; }
.aliste__stand { white-space: nowrap; color: var(--nebel); font-family: var(--mono); font-size: .75rem; }
.aliste__groesse { white-space: nowrap; color: var(--nebel); font-family: var(--mono); font-size: .75rem; text-align: right; }
.aliste__mehr { white-space: nowrap; text-align: right; }
.aliste__mehr .klein, .aliste__mehr a.klein { opacity: .3; transition: opacity .15s; }
.aliste tr:hover .aliste__mehr .klein, .aliste__mehr .klein:focus { opacity: 1; }
.aliste__mehr form { display: inline; }
.konten .aliste__mehr .klein { opacity: 1; }

/* Das Kuerzel vor dem Namen, eingefaerbt nach Art */
.symbol { flex: none; width: 2rem; height: 2.3rem; border-radius: 2px 8px 2px 2px; display: grid; place-items: center;
  font: 700 9px/1 var(--body); letter-spacing: .02em; color: var(--weiss); background: #7b8794; }
.symbol--pdf { background: var(--rot); }
.symbol--doc { background: #2b579a; }
.symbol--xls { background: #217346; }
.symbol--ppt { background: #c55a11; }
.symbol--bild { background: #7a4fa0; }
.symbol--film { background: #333; }
.symbol--grafik { background: #0e7c86; }
.symbol--mail { background: #b58500; }
.symbol--ordner { width: 2rem; height: 1.6rem; border-radius: 2px 4px 3px 3px; background: var(--gelb); position: relative; }
.symbol--ordner::before { content: ""; position: absolute; left: 0; top: -4px; width: 45%; height: 6px; background: var(--gelb); border-radius: 3px 3px 0 0; }
.zeile--ordner .aliste__name > a:not(.wo):not(.marke-dup) { font-weight: 700; color: var(--nacht); }

.marke-dup { display: inline-block; margin-left: .5rem; padding: 1px 6px; border-radius: 99px; background: #fdecea; color: var(--rot);
  font-family: var(--mono); font-size: .6875rem; font-weight: 600; text-decoration: none; vertical-align: 1px; }
.fassungen { margin: .25rem 0 0 2.6rem; font-size: .8125rem; color: var(--nebel); }
.fassungen summary { cursor: pointer; }
.fassungen ul { margin: .25rem 0; padding-left: 1rem; }
.fassungen small { margin: 0 .4rem; }

.auswahlleiste { position: sticky; top: .5rem; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: .6rem .8rem; margin-bottom: .5rem; background: var(--nacht); color: var(--weiss); border-radius: var(--rund); }
.auswahlleiste [data-auswahl-zahl] { font-weight: 600; margin-right: .5rem; }
.auswahlleiste .klein { color: var(--weiss); }
.auswahlleiste[hidden] { display: none; }

/* ------------------------------------------------------- Warteschlange */
.warteschlange { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: 6px; max-height: 50vh; overflow: auto; }
.warteschlange:empty { display: none; }
.warteschlange li { background: var(--weiss); border-radius: var(--rund); padding: 8px 12px; display: grid;
  grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: 14px; }
.schlange__name { font-weight: 600; overflow-wrap: anywhere; }
.schlange__stand { color: var(--nebel); }
.warteschlange .ok .schlange__stand { color: var(--gruen); font-weight: 600; }
.warteschlange .fehler .schlange__stand { color: var(--rot); font-weight: 600; }
.balken { grid-column: 1 / -1; height: 5px; background: var(--papier); border-radius: 3px; overflow: hidden; }
.balken span { display: block; height: 100%; width: 0; background: var(--blau); transition: width .2s; }
.warteschlange .ok .balken { display: none; }
.schlange__frage { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: #fff8cc; padding: 8px; border-radius: var(--rund); }
.schlange__frage .haken { font-size: 13px; color: var(--nebel); }
.schlange__ende { background: none !important; display: block !important; text-align: center; }

/* -------------------------------------------------------------- Dialog */
.dialog { border: 0; border-radius: var(--rund); padding: 1.25rem; width: min(560px, calc(100vw - 2rem)); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.dialog::backdrop { background: rgba(1, 40, 60, .5); }
.dialog form { display: grid; gap: .6rem; }
.dialog select { font: inherit; font-size: .875rem; width: 100%; border: 1px solid var(--linie); border-radius: var(--rund); padding: .25rem; }
.dialog__knoepfe { display: flex; gap: .5rem; }

/* ---------------------------------------------------- Verlauf, Duplikate */
.verlauf { margin-top: 2.5rem; }
.verlauf ul { list-style: none; padding: 0; margin: 0; background: var(--weiss); border-radius: var(--rund); }
.verlauf li { display: flex; gap: 1rem; padding: .5rem .9rem; border-bottom: 1px solid var(--linie); font-size: .875rem; }
.verlauf li:last-child { border-bottom: 0; }
.verlauf__wann { flex: none; width: 7.5rem; color: var(--nebel); font-family: var(--mono); font-size: .75rem; padding-top: 2px; }
.verlauf a { color: var(--blau-text); }

.duplikate { display: grid; gap: .75rem; }
.dgruppe { background: var(--weiss); border-radius: var(--rund); padding: .9rem 1rem; border-left: 4px solid var(--rot); scroll-margin-top: 1rem; }
.dgruppe:target { border-left-color: var(--gelb); box-shadow: 0 0 0 3px var(--gelb); }
.dgruppe__titel { display: flex; align-items: center; gap: .65rem; margin: 0 0 .5rem; font: 600 1rem/1.3 var(--body); }
.dgruppe__titel a { color: var(--tinte); overflow-wrap: anywhere; }
.dgruppe__titel small { color: var(--nebel); font-family: var(--mono); font-size: .75rem; font-weight: 500; white-space: nowrap; }
.dgruppe ul { list-style: none; margin: 0; padding: 0 0 0 2.65rem; display: grid; gap: .3rem; }
.dgruppe li { font-size: .875rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.dgruppe li a { color: var(--blau-text); }
.dgruppe li small { color: var(--nebel); font-family: var(--mono); font-size: .7rem; }
.dgruppe li .knopf { margin-left: auto; padding: .2rem .55rem; font-size: .75rem; }

/* ---------------------------------------------------------------- Handy */
@media (max-width: 720px) {
  .aliste__stand, .aliste thead { display: none; }
  .aliste td { padding: .5rem .4rem; }
  .aliste__groesse { font-size: .6875rem; }
  .aliste__mehr .klein { display: none; }
  .verlauf li { flex-direction: column; gap: 0; }
  .anav__link { padding: .45rem .4rem; font-size: .8125rem; }
}

/* ------------------------------------------------------------- Jahre */
/* Unter dem Ordnerkopf: derselbe Ordner nach Jahr, wie Reiter. */
.jahre { display: flex; flex-wrap: wrap; gap: .3rem; margin: -.25rem 0 1rem; }
.jahre a { padding: .3rem .6rem; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--weiss);
  color: var(--nacht); text-decoration: none; font-family: var(--mono); font-size: .75rem; font-weight: 600; }
.jahre a small { color: var(--nebel); font-weight: 500; margin-left: .15rem; }
.jahre a:hover { border-color: var(--nacht); }
.jahre a[aria-current] { background: var(--nacht); border-color: var(--nacht); color: var(--weiss); }
.jahre a[aria-current] small { color: var(--gelb); }
.atitel__jahr { font-style: normal; color: var(--blau); }
/* Der Umschalter Jahr | Saison vor den Reitern */
.jahre__wie { display: inline-flex; margin-right: .4rem; border: 1px solid var(--nacht); border-radius: var(--rund); overflow: hidden; }
.jahre .jahre__wie a { border: 0; border-radius: 0; }
.jahre .jahre__wie a[aria-current] { background: var(--gelb); color: var(--nacht); }
