/* NVG Umzugsplaner – Design passend zum Theme „Guggenbichler“ und zur Sammelbestellung */

.nvgp {
	--r: #b7302a;
	--r2: #9a2621;
	--d: #1e2a1e;
	--k: #fffaf2;
	--l: #f6f1e7;
	--linie: rgba(30, 42, 30, .12);
	--m: #a9c98a;
	--h: #d9e3a6;
	--t: #1c1a17;
	--e: #5a3b25;
	--ok: #2f6b3a;
	--okbg: #e3f0dc;
	--err: #7a1f1a;
	--errbg: #f8e1df;
	--gelb: #fff3cf;
	--gelbt: #6b5200;
	--blau: #e1ebf2;
	--blaut: #23465f;
	--fd: var(--wp--preset--font-family--display, 'Roboto Slab', Rockwell, 'Zilla Slab', Georgia, serif);
	--ft: var(--wp--preset--font-family--text, 'Open Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif);
	--schatten: 0 1px 0 var(--linie), 0 10px 28px rgba(30, 42, 30, .07);
	color: var(--t);
}
.nvgp *, .nvgp *::before, .nvgp *::after { box-sizing: border-box; }
.nvgp a { color: var(--r); }
.nvgp h1, .nvgp h2, .nvgp h3 { font-family: var(--fd); color: var(--d); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6rem; }
.nvgp h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 800; }
.nvgp h2 { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.nvgp p { margin: 0 0 .8rem; }
.nvgp small { font-size: .82em; }
.nvgp code { background: rgba(30, 42, 30, .06); padding: .1rem .35rem; border-radius: 6px; font-size: .88em; }
.up-i { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* ---------- App-Rahmen ---------- */
body.up-app { margin: 0; min-height: 100vh; background: var(--l); color: #1c1a17; font: 16px/1.55 'Open Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.up-app .nvgp { --fd: 'Roboto Slab', Rockwell, 'Zilla Slab', Georgia, serif; --ft: 'Open Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif; }

.up-kopf { position: sticky; top: 0; z-index: 40; background: var(--l); box-shadow: 0 1px 0 color-mix(in srgb, var(--e) 18%, transparent); padding-top: env(safe-area-inset-top); }
.up-kopf-in { max-width: 720px; margin: 0 auto; padding: .7rem 16px; display: flex; align-items: center; gap: 1rem; }
.up-b-verwaltung .up-kopf-in, .up-b-leitung .up-kopf-in { max-width: 1200px; }
@media (min-width: 1000px) { .up-b-mitglied .up-kopf-in { max-width: 960px; } }
.up-marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit !important; min-width: 0; flex: 1 1 auto; padding: 3px 0 3px 3px; }
.up-marke-txt { overflow: hidden; }
.up-mark, .up-pw-mark { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; border-radius: 50%; background: var(--m); box-shadow: inset 0 0 0 3px var(--d), 0 0 0 2px var(--r); display: grid; place-items: center; font-family: var(--fd); font-weight: 800; color: var(--d); font-size: 1.15rem; line-height: 1; }
.up-marke-txt { display: flex; flex-direction: column; min-width: 0; }
.up-marke-txt strong { font-family: var(--fd); font-weight: 800; font-size: 1.12rem; color: var(--d); line-height: 1.2; }
.up-marke-txt small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-ich { width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--d); color: var(--m) !important; display: grid; place-items: center; font-family: var(--fd); font-weight: 800; text-decoration: none; flex: 0 0 auto; }

.up-main { max-width: 720px; margin: 0 auto; padding: 1.4rem 16px 2.5rem; }
.up-main.mit-tabbar { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.up-b-verwaltung .up-main, .up-b-leitung .up-main { max-width: 1200px; }

/* Navigation: Kopfzeile (Desktop) + Tab-Leiste (Handy) */
.up-tabs-kopf { display: none; gap: .3rem; flex: 0 0 auto; margin-left: auto; }
.up-tabs-kopf a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; text-decoration: none; color: var(--d); font-weight: 600; font-size: .95rem; }
.up-tabs-kopf a:hover { background: rgba(30, 42, 30, .06); }
.up-tabs-kopf a.aktiv { background: var(--d); color: #fff; }
.up-tabbar { position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--d); border-radius: 20px; padding: .35rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.up-tabbar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .45rem .2rem .4rem; border-radius: 14px; color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .01em; }
.up-tabbar a .up-i { width: 22px; height: 22px; }
.up-tabbar a.aktiv { background: rgba(169, 201, 138, .16); color: var(--m); }
@media (min-width: 1000px) {
	.up-tabs-kopf { display: flex; }
	.up-tabbar { display: none; }
	.up-main.mit-tabbar { padding-bottom: 3rem; }
}
@media (min-width: 640px) and (max-width: 999px) {
	.up-tabbar { left: 50%; right: auto; transform: translateX(-50%); width: 560px; }
}

/* In einer WordPress-Seite */
.up-seite { margin-top: 0; }
.up-tabs-seite { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; }
.up-tabs-seite a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: var(--k); color: var(--d) !important; text-decoration: none; font-weight: 600; font-size: .95rem; box-shadow: var(--schatten); }
.up-tabs-seite a.aktiv { background: var(--d); color: #fff !important; }
.up-app-hinweis { margin-top: 2rem; text-align: center; font-size: .9rem; }
.up-app-hinweis a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }

/* ---------- Bausteine ---------- */
.up-karte { background: var(--k); border-radius: 20px; padding: 1.25rem 1.3rem; margin: 0 0 1rem; box-shadow: var(--schatten); }
.up-karte > :last-child { margin-bottom: 0; }
.up-klein { font-size: .9rem; opacity: .75; }
.up-lead { font-size: 1.02rem; max-width: 60ch; }
.up-h2 { margin-top: 1.8rem !important; }
.up-inline { display: inline; margin: 0; }

.up-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--r); color: #fff !important; font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: filter .15s, transform .15s; white-space: nowrap; }
.up-btn:hover { filter: brightness(1.08); }
.up-btn:active { transform: translateY(1px); }
.up-btn.hell { background: #fff; color: var(--d) !important; box-shadow: inset 0 0 0 1px var(--linie); }
.up-btn.rand { background: transparent; color: var(--d) !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.up-btn.rand.rot { color: var(--r) !important; }
.up-btn.gross { min-height: 52px; width: 100%; font-size: 1.05rem; }
.up-btn.riesig { min-height: 64px; width: 100%; font-size: 1.2rem; border-radius: 18px; }
.up-btn.klein { min-height: 36px; padding: 0 .9rem; font-size: .88rem; }
.up-btn:focus-visible, .up-feld input:focus-visible, .up-feld select:focus-visible, .up-feld textarea:focus-visible { outline: 3px solid var(--m); outline-offset: 2px; }
.up-knoepfe, .up-aktionen { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.up-aktionen { margin: 1rem 0 1.2rem; }

.up-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; background: #ece5d8; color: #4b4b4b; white-space: nowrap; font-family: var(--ft); }
.up-badge.is-rot { background: var(--r); color: #fff; }
.up-badge.is-ok { background: var(--okbg); color: var(--ok); }
.up-badge.is-offen { background: var(--h); color: var(--d); }
.up-badge.is-grau { background: #e6e0d5; color: #6b6b6b; }
.up-badge.is-blau { background: var(--blau); color: var(--blaut); }
.up-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .45rem; }

.up-kachel { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; min-height: 70px; padding: .35rem .2rem; border-radius: 16px; background: var(--d); color: #fff; line-height: 1.05; flex: 0 0 auto; text-align: center; }
.up-kachel small { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--m); font-weight: 700; }
.up-kachel b { font-family: var(--fd); font-size: 1.7rem; font-weight: 800; margin: .1rem 0; }
.up-kachel.klein { width: 50px; min-height: 54px; border-radius: 13px; }
.up-kachel.klein b { font-size: 1.3rem; }
.up-kachel.klein small { font-size: .58rem; }

.up-meldung { display: flex; align-items: flex-start; gap: .6rem; padding: .9rem 1.1rem; border-radius: 14px; margin: 0 0 1.2rem; font-weight: 600; }
.up-meldung .up-i { margin-top: .15rem; }
.up-meldung.up-ok { background: var(--okbg); color: #24461f; }
.up-meldung.up-err { background: var(--errbg); color: var(--err); }
.up-meldung.up-info { background: var(--gelb); color: var(--gelbt); }

.up-leer { text-align: center; padding: 2rem 1rem; opacity: .7; }
.up-leer .up-i { width: 42px; height: 42px; opacity: .45; margin-bottom: .4rem; }

.up-feld { display: grid; gap: .35rem; margin: 0 0 1rem; }
.up-feld > span { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.up-feld > span small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.up-feld input, .up-feld select, .up-feld textarea, .up-select, .up-nachtragen input[type=text], .up-suche input { width: 100%; padding: .75rem .9rem; border: 1px solid var(--linie); border-radius: 12px; background: #fff; font: inherit; color: inherit; min-height: 46px; }
.up-feld textarea { resize: vertical; min-height: 0; }
.up-select { width: auto; min-height: 40px; padding: .45rem 2rem .45rem .9rem; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.up-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1rem; }
.up-felder .breit { grid-column: 1 / -1; }
.up-check { display: flex; align-items: center; gap: .55rem; cursor: pointer; font-weight: 600; margin: .2rem 0 1rem; }
.up-check input { width: 20px; height: 20px; accent-color: var(--r); }

.up-zurueck { display: inline-flex; align-items: center; gap: .3rem; margin: 0 0 1rem; text-decoration: none; font-weight: 600; color: var(--e) !important; font-size: .95rem; }

.up-titelzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 0 0 1.2rem; }
.up-titelzeile h1 { margin: 0; }
.up-abschnitt { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1.6rem 0 .7rem; }
.up-karte .up-abschnitt { margin-top: 0; }
.up-abschnitt h2 { margin: 0; }
.up-abschnitt a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .2rem; white-space: nowrap; font-size: .95rem; }

/* ---------- Passwort / Start ---------- */
.up-pw { max-width: 460px; margin: 5vh auto 2rem; text-align: center; padding: 2rem 1.6rem; }
.up-pw > .up-i { width: 44px; height: 44px; color: var(--r); margin-bottom: .6rem; }
.up-pw .up-pw-mark { width: 4.2rem; height: 4.2rem; font-size: 1.9rem; margin: 0 auto 1rem; box-shadow: inset 0 0 0 4px var(--d), 0 0 0 3px var(--r); }
.up-pw h1 { font-size: 1.6rem; }
.up-pw-form { text-align: left; margin-top: 1.2rem; }

/* ---------- Mitglieder: Übersicht ---------- */
.up-hallo { margin: 0 0 1rem; }
.up-hallo h1 { margin: 0; }
.up-hallo p { margin: .1rem 0 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

.up-held { position: relative; overflow: hidden; background: var(--d); color: #fff; border-radius: 22px; padding: 1.35rem 1.35rem 1.1rem; margin: 0 0 1rem; box-shadow: 0 14px 34px rgba(30, 42, 30, .28); }
.up-held::after { content: "G"; position: absolute; right: -.08em; top: -.3em; font-family: var(--fd); font-weight: 800; font-size: 11rem; color: rgba(169, 201, 138, .07); pointer-events: none; line-height: 1; }
.up-held h2 { color: #fff; font-size: clamp(1.45rem, 5.5vw, 1.9rem); font-weight: 800; margin: .7rem 0 .7rem; display: block; }
.up-held h2 a { color: #fff !important; text-decoration: none; }
.up-held-info { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .35rem; font-size: .96rem; }
.up-held-info li { display: flex; gap: .55rem; align-items: flex-start; }
.up-held-info .up-i { color: var(--m); margin-top: .2rem; }
.up-held-fuss { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; position: relative; z-index: 1; }
.up-held-fuss .up-btn.hell { background: rgba(255, 255, 255, .1); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.up-dabei { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: 0 1.1rem; border-radius: 999px; background: var(--m); color: var(--d); font-weight: 700; }
.up-dabei.grau { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.up-held-zahl { margin: .9rem 0 0 !important; font-size: .82rem; opacity: .72; position: relative; z-index: 1; }

.up-zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0 0 .5rem; }
.up-zahlen.drei { grid-template-columns: repeat(3, 1fr); }
.up-zahl { display: block; background: var(--k); border-radius: 18px; padding: .9rem 1rem; text-decoration: none; color: inherit !important; box-shadow: var(--schatten); border-top: 4px solid var(--r); }
.up-zahl b { display: block; font-family: var(--fd); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--d); }
.up-zahl span { display: block; font-size: .82rem; margin-top: .3rem; opacity: .75; line-height: 1.3; }

.up-liste { display: grid; gap: .6rem; }
.up-item { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .3rem .85rem; padding: .7rem .8rem .7rem .7rem; background: var(--k); border-radius: 18px; box-shadow: var(--schatten); text-decoration: none; color: inherit !important; transition: transform .15s; }
.up-item:hover { transform: translateY(-1px); }
.up-item > .up-i { opacity: .35; }
.up-item-txt { min-width: 0; display: flex; flex-direction: column; }
.up-item-txt strong { font-family: var(--fd); font-size: 1.05rem; color: var(--d); line-height: 1.25; }
.up-item-txt small { opacity: .7; font-size: .85rem; }
.up-item.vorbei { opacity: .62; }
.up-item.abgesagt strong { text-decoration: line-through; }
@media (max-width: 520px) {
	.up-item { grid-template-columns: auto 1fr auto; }
	.up-item-status { grid-column: 2; grid-row: 2; }
	.up-item > .up-i { grid-column: 3; grid-row: 1 / span 2; }
}

/* Zeitstrahl (Umzugsplan) – wie die Chronik der Homepage */
.up-zeitstrahl { list-style: none; margin: 0 0 1rem; padding: 0 0 0 .2rem; border-left: 3px solid var(--m); margin-left: .5rem; }
.up-monat { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--e); padding: 1rem 0 .55rem 1.3rem; position: relative; }
.up-monat:first-child { padding-top: .2rem; }
.up-zs-punkt { position: relative; padding: 0 0 .65rem 1.3rem; }
.up-zs-punkt::before { content: ""; position: absolute; left: -11px; top: 1.6rem; width: 15px; height: 15px; border-radius: 50%; background: var(--l); border: 3px solid var(--r); }
.up-zs-punkt.meins::before { background: var(--r); }
.up-zs-punkt.vorbei::before { border-color: #b9b2a5; }
.up-zs-punkt.vorbei.meins::before { background: #b9b2a5; }

/* ---------- Umzug im Detail ---------- */
.up-detail-kopf { display: flex; gap: 1rem; align-items: flex-start; margin: 0 0 1.2rem; }
.up-detail-kopf h1 { margin: 0 0 .2rem; }
.up-detail-kopf p { margin: 0; opacity: .78; }
.up-meins-status { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.08rem; margin: 0 0 .9rem; color: var(--d); flex-wrap: wrap; }
.up-meins-status small { font-weight: 400; opacity: .7; font-size: .85rem; width: 100%; }
.up-meins-status.ok { color: var(--ok); }
.up-meins-status.grau { color: #6b6b6b; font-weight: 600; }
.up-meins-status .up-i { width: 1.4em; height: 1.4em; }
.up-meins-form .up-feld { margin-bottom: .9rem; }
.up-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0 0 1rem; }
.up-wahl input { position: absolute; opacity: 0; pointer-events: none; }
.up-wahl span { display: flex; align-items: center; gap: .5rem; min-height: 52px; padding: .6rem .8rem; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); cursor: pointer; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.up-wahl input:checked + span { box-shadow: inset 0 0 0 2px var(--d); background: #fff; color: var(--d); }
.up-wahl input:checked + span .up-i { color: var(--r); }
.up-wahl input:focus-visible + span { outline: 3px solid var(--m); outline-offset: 2px; }
.up-tipp { display: flex; gap: .5rem; align-items: center; margin: 1rem 0 0 !important; padding: .7rem .9rem; border-radius: 12px; background: var(--h); font-size: .92rem; font-weight: 600; }

.up-zeilen { display: grid; gap: .9rem; }
.up-zeile { display: grid; grid-template-columns: 38px 1fr; gap: .75rem; align-items: start; }
.up-zeile > .up-i { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--h); color: var(--d); }
.up-zeile small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.up-mini-reihe { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.up-mini { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; padding: .3rem .75rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--d) !important; }
.up-mini-reihe .up-mini { margin-top: 0; }
.up-fehlt { color: var(--r); font-style: italic; font-size: .92em; }

.up-kommentar { border-left: 5px solid var(--r); }
.up-kommentar p { white-space: normal; }
.up-kommentar-box { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); border-left: 4px solid var(--r); }
.up-kommentar-box.intern { border-left-color: var(--e); background: #faf5ea; }
.up-kommentar-box small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-bottom: .2rem; }
.up-kommentar-box p { margin: 0; }

.up-wer summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: .5rem; list-style: none; font-family: var(--fd); color: var(--d); font-size: 1.1rem; }
.up-wer summary::-webkit-details-marker { display: none; }
.up-wer summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; opacity: .5; }
.up-wer[open] summary::after { content: "–"; }
.up-namen { columns: 2; column-gap: 1.2rem; margin: 1rem 0 0; padding: 0 0 0 1.1rem; font-size: .95rem; }
.up-namen li { break-inside: avoid; margin-bottom: .2rem; }
.up-begl-n { display: inline-block; margin-left: .25rem; padding: 0 .4rem; border-radius: 99px; background: var(--h); color: var(--d); font-size: .8rem; font-weight: 700; }
.up-begl-txt { display: block; color: var(--muted, #6a655c); font-size: .8rem; line-height: 1.3; }
.up-begl { display: grid; gap: .6rem; }
.up-begl > .up-klein { margin: -.2rem 0 .5rem; }
.up-begl:has(select[name="begleitung"] option[value="0"]:checked) .up-begl-info { display: none; }
.up-koepfe { display: flex; align-items: center; gap: .4rem; margin: -.4rem 0 1rem; }
.up-koepfe svg { width: 1rem; height: 1rem; flex: none; }
.tn-begl { display: block; font-size: .78rem; color: var(--muted, #6a655c); }

/* ---------- Profil ---------- */
.up-profil { display: flex; align-items: center; gap: 1rem; }
.up-profil strong { display: block; font-family: var(--fd); font-size: 1.25rem; color: var(--d); }
.up-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--m); color: var(--d); display: grid; place-items: center; font-family: var(--fd); font-size: 1.5rem; font-weight: 800; box-shadow: inset 0 0 0 3px var(--d); flex: 0 0 auto; }
.up-anleitung { padding-left: 1.1rem; margin: .8rem 0 0; }
.up-anleitung li { margin-bottom: .3rem; }

/* ---------- Verwaltung ---------- */
.up-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; margin: 0 0 1.3rem; }
.up-kpi { background: var(--k); border-radius: 18px; padding: .9rem 1.1rem 1rem; box-shadow: var(--schatten); border-top: 4px solid var(--r); }
.up-kpi b { display: block; font-family: var(--fd); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; line-height: 1; color: var(--d); }
.up-kpi b small { font-size: .5em; opacity: .5; font-weight: 700; }
.up-kpi span { display: block; margin-top: .35rem; font-size: .85rem; opacity: .75; line-height: 1.3; }

.up-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.up-todo a { display: grid; grid-template-columns: 38px 1fr auto; gap: .8rem; align-items: center; padding: .6rem .7rem; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); text-decoration: none; color: inherit !important; }
.up-todo a > .up-i:first-child { width: 38px; height: 38px; padding: 9px; border-radius: 50%; }
.up-todo a > .up-i:last-child { opacity: .35; }
.up-todo strong { display: block; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.up-todo small { opacity: .7; }
.up-todo .is-rot a > .up-i:first-child { background: var(--r); color: #fff; }
.up-todo .is-gelb a > .up-i:first-child { background: var(--gelb); color: var(--gelbt); }
.up-todo .is-blau a > .up-i:first-child { background: var(--blau); color: var(--blaut); }

.up-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.up-tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.up-tabelle th { text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; padding: .4rem .5rem .6rem; white-space: nowrap; }
.up-tabelle td { padding: .65rem .5rem; border-top: 1px solid var(--linie); vertical-align: middle; }
.up-tabelle td small { display: block; opacity: .7; font-size: .82rem; }
.up-tabelle td a { text-decoration: none; }
.up-tabelle td a strong { color: var(--d); font-family: var(--fd); font-size: 1.02rem; }
.up-tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; }
.up-tabelle th.breit { width: 34%; }
.up-tabelle .nowrap { white-space: nowrap; }
.up-tabelle tr.vorbei td { opacity: .62; }
.up-tabelle tr.abgesagt td strong { text-decoration: line-through; }
.up-tabelle tr.ist-da td:first-child strong { color: var(--ok); }
.up-tab-aktion { white-space: nowrap; text-align: right; }
.up-anm { display: inline-flex; align-items: baseline; gap: .1rem; }
.up-anm b { font-family: var(--fd); font-size: 1.2rem; }
.up-busz { display: inline-flex !important; align-items: center; gap: .15rem; margin-left: .4rem; }
.up-tabelle .up-bar { margin-top: .3rem; min-width: 90px; }

@media (max-width: 781px) {
	.up-tabelle.karten thead { display: none; }
	.up-tabelle.karten tr { display: grid; grid-template-columns: 52px 1fr auto; gap: .15rem .8rem; padding: .85rem 0; border-top: 1px solid var(--linie); }
	.up-tabelle.karten td { border: 0; padding: 0; text-align: left; }
	.up-tabelle.karten td[data-l="Datum"] { grid-row: 1 / span 5; }
	.up-tabelle.karten td[data-l="Umzug"] { grid-column: 2; }
	.up-tabelle.karten td.up-tab-aktion { grid-column: 3; grid-row: 1; }
	.up-tabelle.karten td:not([data-l="Datum"]):not([data-l="Umzug"]):not(.up-tab-aktion) { grid-column: 2 / span 2; font-size: .9rem; display: flex; gap: .4rem; align-items: baseline; flex-wrap: wrap; }
	.up-tabelle.karten td:not([data-l="Datum"]):not([data-l="Umzug"]):not(.up-tab-aktion)::before { content: attr(data-l) ":"; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
	.up-tabelle.karten td:not([data-l="Umzug"]) small { display: inline; }
	.up-tabelle.karten td.up-tab-aktion { display: flex; flex-direction: column; gap: .3rem; }
	.up-tabelle.karten .up-bar { flex: 1 1 100%; max-width: 220px; }
	.up-tabelle.karten td.zahl { justify-content: flex-start; }
}

.up-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(30, 42, 30, .1); overflow: hidden; }
.up-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--r); }
.up-bar i.hell { background: rgba(183, 48, 42, .25); }
.up-legende { display: flex; gap: 1rem; font-size: .82rem; opacity: .8; margin: -.2rem 0 .8rem; }
.up-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--r); vertical-align: -1px; margin-right: .35rem; }
.up-legende i.hell { background: rgba(183, 48, 42, .25); }

.up-icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); color: var(--d) !important; border: 0; cursor: pointer; margin-left: .2rem; }
.up-icon-btn.rot { color: var(--r) !important; }
.up-icon-btn:hover { background: var(--l); }

.up-ci { display: inline-flex; align-items: center; gap: .3rem; min-height: 36px; padding: 0 .85rem; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--d); color: var(--d); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.up-ci.da { background: var(--ok); color: #fff; box-shadow: none; }

.up-nachtragen { display: grid; grid-template-columns: 110px 1fr auto auto; gap: .5rem; align-items: center; margin: 0 0 .4rem; }
.up-nachtragen .up-check { margin: 0; white-space: nowrap; }
@media (max-width: 640px) { .up-nachtragen { grid-template-columns: 100px 1fr; } .up-nachtragen .up-btn { grid-column: 1 / -1; } }
.up-suche { position: relative; margin: .8rem 0 .6rem; }
.up-suche .up-i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); opacity: .45; }
.up-suche input { padding-left: 2.5rem; }

.up-raster { display: grid; gap: 0 1rem; }
@media (min-width: 900px) { .up-raster { grid-template-columns: 1.3fr 1fr; align-items: start; } }

.up-formular .up-karte h2 .up-i, .up-karte h2 .up-i { color: var(--r); }
.up-formfuss { display: flex; gap: .6rem; flex-wrap: wrap; margin: .5rem 0 1.5rem; }
.up-formfuss .up-btn.gross { width: auto; padding: 0 2rem; }
.up-rolle { display: flex; align-items: center; gap: .5rem; justify-content: center; font-size: .9rem; opacity: .85; margin: 1.5rem 0 0; flex-wrap: wrap; }
.up-gefahr { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(183, 48, 42, .35); }
.up-hinweis-karte { background: var(--gelb); }
.up-hinweis-karte h2, .up-hinweis-karte h2 .up-i { color: var(--gelbt) !important; }

.up-schalter { position: relative; width: 46px; height: 26px; border-radius: 99px; border: 0; background: #d8d1c4; cursor: pointer; padding: 0; }
.up-schalter i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.up-schalter.an { background: var(--ok); }
.up-schalter.an i { left: 23px; }

/* ---------- QR ---------- */
.up-qr-blatt { max-width: 520px; margin: 0 auto 1.2rem; text-align: center; background: #fff; border-radius: 24px; padding: 2rem 1.5rem; box-shadow: var(--schatten); }
.up-qr-blatt .up-pw-mark { width: 3.6rem; height: 3.6rem; font-size: 1.6rem; margin: 0 auto .6rem; }
.up-qr-verein { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--r); margin-bottom: .3rem !important; }
.up-qr-blatt h1 { margin-bottom: .2rem; }
.up-qr-datum { font-size: 1.1rem; opacity: .8; }
.up-qr { max-width: 340px; margin: 1rem auto; }
.up-qr svg { width: 100%; height: auto; display: block; }
.up-qr-text { font-family: var(--fd); font-weight: 800; font-size: 1.35rem; color: var(--d); margin-bottom: .2rem !important; }
.up-qr-klein { font-size: .9rem; opacity: .7; }

/* ---------- Check-in ---------- */
.up-b-checkin .up-main { max-width: 520px; }
.up-ci-kopf { display: flex; gap: 1rem; align-items: center; margin: .4rem 0 1.2rem; }
.up-ci-kopf h1 { font-size: 1.6rem; margin: 0 0 .15rem; }
.up-ci-kopf p { margin: 0; opacity: .75; }
.up-ci-form { padding: 1.5rem; }
.up-ci-wer { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.2rem !important; }
.up-ci-wer strong { display: block; font-family: var(--fd); font-size: 1.3rem; color: var(--d); }
.up-ci-form .up-klein { text-align: center; margin-top: 1rem; }
.up-ci-ok { text-align: center; padding: 2rem 1.4rem; }
.up-ci-haken { width: 104px; height: 104px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 1rem; box-shadow: 0 0 0 10px var(--okbg); animation: up-pop .35s ease-out; }
.up-ci-haken .up-i { width: 60px; height: 60px; stroke-width: 2.4; }
.up-ci-ok h2 { justify-content: center; font-size: 1.7rem; }
@keyframes up-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Drucken ---------- */
@media print {
	.up-kopf, .up-tabbar, .up-tabs-seite, .up-noprint, .up-app-hinweis, .up-aktionen, .up-zurueck, .up-meldung, header.wp-block-template-part, footer.wp-block-template-part, #wpadminbar, .gbc-banner { display: none !important; }
	body, body.up-app { background: #fff !important; }
	.up-main { padding: 0 !important; max-width: none !important; }
	.up-karte, .up-item, .up-kpi, .up-zahl { box-shadow: none !important; border: 1px solid #ddd; break-inside: avoid; }
	.up-held { background: #fff; color: #000; border: 2px solid #000; }
	.up-qr-blatt { box-shadow: none; padding-top: 10mm; }
	.up-qr { max-width: 120mm; }
	.up-qr-blatt h1 { font-size: 30pt; }
	.up-kachel { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Startbildschirm (Rolle wählen) ---------- */
.up-start { max-width: 460px; margin: 2vh auto 0; }
.up-start-kopf { text-align: center; margin: 0 0 1.4rem; }
.up-start-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 12px 30px rgba(30, 42, 30, .25); display: block; margin: 0 auto 1rem; }
.up-start-kopf h1 { margin: 0; }
.up-start-kopf p { margin: .2rem 0 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.up-rollen { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .35rem; margin: 0 0 1rem; border-radius: 999px; background: rgba(30, 42, 30, .07); }
.up-rollen a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--d) !important; }
.up-rollen a[aria-selected="true"] { background: var(--d); color: #fff !important; box-shadow: 0 6px 16px rgba(30, 42, 30, .25); }
.up-login h2 .up-i { color: var(--r); }
.up-aus { display: none; }
.up-btn.dunkel { background: var(--d); }

/* ---------- Menü ---------- */
.up-menue-knopf { display: inline-flex; align-items: center; gap: .35rem; height: 42px; padding: 0 .55rem 0 .35rem; border: 0; border-radius: 999px; background: var(--d); color: #fff; cursor: pointer; flex: 0 0 auto; margin-left: .3rem; }
.up-menue-knopf .up-i { width: 22px; height: 22px; }
.up-menue-knopf:not(:has(.up-menue-av)) { padding: 0 .6rem; }
.up-menue-av { width: 32px; height: 32px; border-radius: 50%; background: var(--m); color: var(--d); display: grid; place-items: center; font-family: var(--fd); font-weight: 800; }
.up-menue { position: fixed; inset: 0; z-index: 1000; isolation: isolate; transform: translateZ(0); }
.up-menue[hidden] { display: none; }
.up-menue-hinter { position: absolute; inset: 0; background: rgba(20, 26, 20, .45); animation: up-ein .2s ease-out; }
.up-menue-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--l); box-shadow: -12px 0 40px rgba(0, 0, 0, .25); padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: .15rem; animation: up-rein .22s ease-out; }
.up-menue-kopf { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .4rem .3rem 1rem; border-bottom: 1px solid var(--linie); margin-bottom: .4rem; }
.up-menue-kopf strong { display: block; font-family: var(--fd); color: var(--d); line-height: 1.2; }
.up-menue-kopf small { opacity: .7; }
.up-menue-kopf .up-avatar { width: 46px; height: 46px; font-size: 1.2rem; }
.up-menue-gruppe { margin: .9rem .5rem .3rem !important; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--e); display: flex; align-items: center; gap: .4rem; }
.up-menue-panel a, .up-menue-link { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 46px; padding: 0 .8rem; border: 0; border-radius: 14px; background: none; text-decoration: none; color: var(--d) !important; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.up-menue-panel a:hover, .up-menue-link:hover { background: rgba(30, 42, 30, .06); }
.up-menue-panel a.aktiv { background: var(--d); color: #fff !important; }
.up-menue-panel a.aktiv .up-i { color: var(--m); }
.up-menue-link[hidden] { display: none; }
.up-menue-fuss { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--linie); }
.up-menue-fuss form { margin: 0; }
.up-menue-fuss .up-menue-link { color: var(--r) !important; }
@keyframes up-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes up-rein { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
body.up-menue-offen { overflow: hidden; }

.up-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 380px) { .up-zwei { grid-template-columns: 1fr; } }
.up-btn.gross.hell { width: 100%; }
.up-held-fuss form.up-inline { display: flex; gap: .6rem; flex-wrap: wrap; flex: 1 1 100%; min-width: 0; }
.up-held-fuss .up-btn { flex: 1 1 auto; }
.up-zwei .up-btn { white-space: normal; padding: 0 .8rem; min-width: 0; text-align: center; }
.up-rueck { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.up-rueck summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.up-rueck p { margin: .6rem 0 0 !important; }
.up-zwei .up-btn.gross { font-size: .98rem; padding: 0 .6rem; gap: .35rem; }

/* ---------- Feinschliff (Abstände, Handy) ---------- */
.up-zeile-lbl { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-bottom: .05rem; }
.up-zeile-wert small { font-size: .85rem; opacity: .7; }
.up-zeile small { display: inline; font-size: .85rem; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .7; }
.up-marke-txt small { letter-spacing: .1em; }
body.up-ohne-kopf .up-kopf { display: none; }
body.up-ohne-kopf .up-main { padding-top: calc(2rem + env(safe-area-inset-top)); }

/* Held: Knöpfe gleich breit, Details als Textlink */
.up-held-fuss { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.up-held-fuss > .up-dabei { flex: 1 1 auto; justify-content: center; }
.up-held-fuss form.up-inline { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; flex: 1 1 100%; }
.up-held-fuss form.up-inline .up-btn { width: 100%; padding: 0 .8rem; }
.up-held-link { display: inline-flex; align-items: center; gap: .25rem; color: var(--m) !important; font-weight: 700; text-decoration: none; padding: .4rem .2rem; white-space: nowrap; }
.up-held-fuss form.up-inline + .up-held-link { margin-left: auto; }

/* Statuszeile: Symbol links, Text daneben */
.up-meins-status { display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: .55rem; }
.up-meins-status small { grid-column: 1 / -1; }
.up-meins-status .up-i { margin-top: .1rem; }

/* Knöpfe in der Anmeldekarte: zwei Spalten */
.up-meins-form .up-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.up-meins-form .up-knoepfe .up-btn { width: 100%; white-space: normal; padding: 0 .7rem; }

.up-nur-handy { display: none; }
@media (max-width: 640px) {
	.up-nur-handy { display: inline; }
	.up-nur-pc { display: none; }
	/* Aktionen als 2er-Raster */
	.up-aktionen { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
	.up-aktionen > .up-btn, .up-aktionen > form, .up-aktionen > form .up-btn { width: 100%; min-width: 0; padding: 0 .6rem; white-space: normal; text-align: center; line-height: 1.15; }
	.up-meins-form .up-knoepfe { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
	.up-held-fuss form.up-inline { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
	.up-aktionen > form { display: block; }
	.up-aktionen > form button { width: 100%; }
	/* Teilnehmerliste als kompakte Zeilen */
	.up-tn thead { display: none; }
	.up-tn tr { display: grid; grid-template-columns: 3.2rem 1fr auto auto; grid-template-areas: "nr name ci del" "nr meta ci del"; align-items: center; column-gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--linie); }
	.up-tn td { border: 0; padding: 0; }
	.up-tn .tn-nr { grid-area: nr; }
	.up-tn .tn-name { grid-area: name; }
	.up-tn .tn-bus, .up-tn .tn-bem { grid-area: meta; font-size: .82rem; opacity: .75; display: inline; }
	.up-tn .tn-bus:empty, .up-tn .tn-bem:has(small:empty) { display: none; }
	.up-tn .tn-bus + .tn-bem { grid-area: auto; grid-column: 2; }
	.up-tn .tn-ci { grid-area: ci; }
	.up-tn .tn-del { grid-area: del; }
	.up-tn .up-ci { padding: 0 .7rem; }
	/* Cockpit-Tabelle: Knöpfe nebeneinander, leere Zeilen weg */
	.up-tabelle.karten td.up-tab-aktion { flex-direction: row; }
	.up-tabelle.karten td.up-leer-handy { display: none !important; }
}
@media (min-width: 1000px) {
	.up-b-mitglied .up-kopf-in, .up-b-mitglied .up-main { max-width: 820px; }
}

/* ---------- Profilbilder ---------- */
.up-avatar.mit-bild, .up-menue-av.mit-bild { padding: 0; overflow: hidden; background: var(--m); }
.up-avatar.mit-bild img, .up-menue-av.mit-bild img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.up-avatar.mit-bild { box-shadow: 0 0 0 3px var(--d); }
.up-avatar.gross { width: 88px; height: 88px; font-size: 2.2rem; }
.up-avatar.mini { width: 34px; height: 34px; font-size: .95rem; box-shadow: inset 0 0 0 2px var(--d); }
.up-avatar.mini.mit-bild { box-shadow: 0 0 0 2px var(--d); }
.up-person { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.up-person > span { min-width: 0; }
.up-hallo { display: flex; align-items: center; gap: .9rem; }
.up-hallo-bild { text-decoration: none; flex: 0 0 auto; }
.up-hallo > div { min-width: 0; }
.up-bild-form { display: grid; gap: .8rem; margin-top: .6rem; }
.up-datei { position: relative; display: block; }
.up-datei input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.up-datei .up-btn { width: 100%; justify-content: center; pointer-events: none; }
.up-datei input:focus-visible + .up-btn { outline: 3px solid var(--r); outline-offset: 2px; }
.up-bild-vorschau { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--d); justify-self: center; }
.up-bild-weg { margin-top: .7rem; }
.up-bild-weg .up-btn { width: 100%; }
.up-link-btn { background: none; border: 0; padding: 0; color: var(--r); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; }
.up-menue-av.mit-bild { color: transparent; }
.up-person { flex-wrap: nowrap; }
.up-bild-form .up-check { align-items: flex-start; font-size: .85rem; line-height: 1.45; font-weight: 400; }
.up-bild-form .up-check input { margin-top: .2rem; flex: 0 0 auto; }

/* ---------- Profil anlegen / PIN ---------- */
.up-konto { max-width: 520px; margin: 0 auto; }
.up-konto-kopf { text-align: center; margin: .5rem 0 1.2rem; }
.up-konto-kopf h1 { margin: .6rem 0 .3rem; }
.up-konto-kopf p { margin: 0 auto; max-width: 30rem; opacity: .8; }
.up-konto .up-pw-mark { margin: 0 auto; }
.up-pin { border: 0; padding: 0; margin: .4rem 0 1rem; }
.up-pin legend { font-weight: 800; font-family: var(--fd); font-size: 1.05rem; padding: 0; }
.up-pin .up-klein { margin: .2rem 0 .6rem; }
.up-pin .up-felder { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .7rem; }
.up-pin .up-feld { margin: 0; }
.up-fest { padding: .7rem .9rem; border-radius: 12px; background: var(--leinen, #F6F1E7); font-weight: 700; }
.up-fest small { font-weight: 400; opacity: .7; }
.up-profil .up-badge { margin-top: .4rem; display: inline-block; }
.up-aufklapp > summary { cursor: pointer; font-family: var(--fd); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; list-style: none; }
.up-aufklapp > summary::-webkit-details-marker { display: none; }
.up-aufklapp > summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; opacity: .6; }
.up-aufklapp[open] > summary::after { content: '–'; }
.up-aufklapp[open] > summary { margin-bottom: .8rem; }
.up-hinweis-link { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; margin: 0 0 1rem; border-radius: 16px; background: var(--hopfen, #D9E3A6); color: var(--d) !important; text-decoration: none; }
.up-hinweis-link > span { flex: 1; min-width: 0; }
.up-hinweis-link strong { display: block; }
.up-hinweis-link small { opacity: .8; }

/* ---------- Warteliste ---------- */
.up-badge.is-warte { background: #f6e3b4; color: #7a4b00; }
.up-dabei.warte { background: #f6e3b4; color: #7a4b00; }
.up-meins-status.warte { color: #7a4b00; }
.up-meins-status small { display: block; font-size: .85rem; font-weight: 400; opacity: .85; margin-top: .25rem; }
.up-held-fuss form.up-drei { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.up-held-fuss form.up-drei .breit, .up-meins-form .breit { grid-column: 1 / -1; }
.up-meins-form > .breit { width: 100%; margin-bottom: .6rem; }
.up-wahl label.aus { opacity: .5; cursor: not-allowed; }
.up-kpi.warte { box-shadow: inset 0 4px 0 #e0a526; }
.up-wlz { display: block; color: #7a4b00; font-weight: 700; }
.up-wl { list-style: none; margin: .4rem 0 0; padding: 0; }
.up-wl li { display: flex; align-items: center; gap: .7rem; padding: .65rem 0; border-top: 1px solid var(--linie); flex-wrap: wrap; }
.up-wl-nr { width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #f6e3b4; color: #7a4b00; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; }
.up-wl-txt { flex: 1 1 10rem; min-width: 0; }
.up-wl-txt strong { display: block; }
.up-wl-txt small { opacity: .75; }
.up-wl-akt { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-left: auto; }
.up-h3 { font-size: 1rem; margin: 1.2rem 0 .2rem; }
.up-profil-zelle .up-link-btn { display: block; margin-top: .2rem; }
@media (max-width: 640px) {
	.up-pin .up-felder { grid-template-columns: 1fr; }
	.up-wl-akt { width: 100%; margin-left: 2.5rem; }
}
@media (max-width: 640px) {
	.up-aktionen > :only-child { grid-column: 1 / -1; justify-self: start; width: auto; white-space: nowrap; padding: 0 1.1rem; }
}
.up-held-fuss form.up-drei .breit + .up-btn:last-child { grid-column: 1 / -1; }

/* ---------- Klickbare Kennzahlen & Filter ---------- */
a.up-kpi-link { display: block; color: inherit !important; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
a.up-kpi-link:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--linie), 0 14px 30px rgba(30, 42, 30, .12); }
a.up-kpi-link span { display: flex; align-items: center; gap: .3rem; }
a.up-kpi-link span .up-i { width: 14px; height: 14px; opacity: .45; margin-left: auto; flex: 0 0 auto; }
a.up-kpi-link.aktiv { background: var(--d); }
a.up-kpi-link.aktiv b, a.up-kpi-link.aktiv span { color: #fff; opacity: 1; }
a.up-kpi-link.aktiv b small { color: #fff; }
.up-chips { display: flex; gap: .45rem; overflow-x: auto; padding: .1rem 0 .8rem; margin: 0 0 .4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.up-chips::-webkit-scrollbar { display: none; }
.up-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: 0 .85rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); color: var(--d) !important; text-decoration: none; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.up-chips a b { font-weight: 800; opacity: .55; }
.up-chips a.aktiv { background: var(--d); color: #fff !important; box-shadow: none; }
.up-chips a.aktiv b { opacity: .8; }
.up-zahllink { color: inherit !important; text-decoration: underline; text-decoration-color: rgba(183, 48, 42, .45); text-underline-offset: 3px; font-weight: 700; }
.up-zahllink:hover { color: var(--r) !important; }
.up-namelink { color: inherit !important; text-decoration: none; }
.up-namelink:hover { text-decoration: underline; }
a.up-person { color: inherit !important; text-decoration: none; }
a.up-person:hover span { text-decoration: underline; }
.up-tabelle tr.aktiv td { background: rgba(169, 201, 138, .25); }
.up-chip-weg { font-family: var(--fb, inherit); font-size: .8rem; font-weight: 700; margin-left: .4rem; padding: .15rem .6rem; border-radius: 999px; background: var(--d); color: #fff !important; text-decoration: none; vertical-align: middle; }
.up-person-kopf { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .4rem 0 1.2rem; }
.up-person-kopf > div { flex: 1 1 12rem; min-width: 0; }
.up-person-kopf h1 { margin: 0; }
.up-person-kopf p { margin: .15rem 0 .4rem; opacity: .75; }
.up-person-kopf .up-mini-reihe { opacity: 1; margin-top: .5rem; }
html { scroll-padding-top: 90px; }
.up-item-txt { min-width: 0; }
.up-item-status .up-badge { white-space: normal; text-align: center; }

/* ---------- Filter überall: Zahlen-Kacheln (Mitglieder) ---------- */
a.up-zahl { position: relative; transition: transform .12s ease, box-shadow .12s ease; }
a.up-zahl:hover { transform: translateY(-2px); }
a.up-zahl > .up-i { position: absolute; right: .7rem; bottom: .75rem; width: 14px; height: 14px; opacity: .4; }
a.up-zahl span { padding-right: 1rem; }
a.up-zahl b small { font-size: .5em; font-weight: 700; opacity: .55; margin-left: .25rem; }
a.up-zahl.aktiv { background: var(--d); }
a.up-zahl.aktiv b, a.up-zahl.aktiv span, a.up-zahl.aktiv > .up-i { color: #fff; opacity: 1; }
.up-zahlen + .up-chips { margin-top: .8rem; }
.up-titelzeile + .up-chips { margin-top: -.2rem; }
.up-held-zahl a { color: inherit !important; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
a.up-busz, a.up-wlz { text-decoration: none; display: block; }
a.up-busz { color: inherit !important; }
a.up-busz:hover, a.up-wlz:hover { text-decoration: underline; }
.up-tnall td { vertical-align: middle; }
.up-tnall .tna-info small { opacity: .75; }
@media (max-width: 640px) {
	.up-tnall thead { display: none; }
	.up-tnall tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name nr" "umzug umzug" "info info"; gap: .15rem .6rem; padding: .7rem 0; border-top: 1px solid var(--linie); }
	.up-tnall td { border: 0; padding: 0; }
	.up-tnall .tna-name { grid-area: name; }
	.up-tnall .tna-nr { grid-area: nr; align-self: center; }
	.up-tnall .tna-datum { display: none; }
	.up-tnall .tna-umzug { grid-area: umzug; font-size: .9rem; padding-left: 2.6rem; }
	.up-tnall .tna-info { grid-area: info; padding-left: 2.6rem; }
	.up-zahlen.drei a.up-zahl b { font-size: 1.7rem; }
}
.up-zahlen.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.up-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.up-zahlen.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.up-zahl span { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 400px) {
	.up-zahlen.drei { gap: .5rem; }
	.up-zahlen.drei .up-zahl { padding: .8rem .7rem; }
	.up-zahlen.drei .up-zahl span { font-size: .76rem; padding-right: .6rem; }
}
/* Filter-Chips umbrechen statt seitlich scrollen – alles auf einen Blick */
.up-chips { flex-wrap: wrap; overflow: visible; padding-bottom: .9rem; }
.up-raster > .up-aufklapp { align-self: start; }

/* ---------- Umzugs-Karten im Cockpit (Handy) – gleiche Optik wie bei den Mitgliedern ---------- */
.up-uk-liste { display: none; }
@media (max-width: 640px) {
	.up-tab-pc { display: none; }
	.up-uk-liste { display: grid; gap: .8rem; margin-top: .2rem; }
}
.up-uk { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--linie), 0 6px 18px rgba(30, 42, 30, .05); padding: .85rem .9rem .75rem; }
.up-uk.vorbei { opacity: .78; }
.up-uk.abgesagt .up-uk-titel strong { text-decoration: line-through; opacity: .6; }
.up-uk-kopf { display: flex; align-items: center; gap: .8rem; color: inherit !important; text-decoration: none; }
.up-uk-kopf > .up-i { margin-left: auto; opacity: .4; flex: 0 0 auto; }
.up-uk-titel { min-width: 0; }
.up-uk-titel strong { display: block; font-family: var(--fd); font-size: 1.05rem; line-height: 1.2; }
.up-uk-titel small { display: block; opacity: .7; margin-top: .1rem; }
.up-uk-info { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .3rem; font-size: .9rem; }
.up-uk-info li { display: flex; align-items: flex-start; gap: .45rem; }
.up-uk-info .up-i { width: 16px; height: 16px; opacity: .55; margin-top: .15rem; flex: 0 0 auto; }
.up-uk-zahlen { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.up-uk-z { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; background: var(--leinen, #F6F1E7); color: var(--d) !important; text-decoration: none; font-size: .85rem; }
.up-uk-z .up-i { width: 15px; height: 15px; opacity: .7; }
.up-uk-z.warte { background: #f6e3b4; color: #7a4b00 !important; }
.up-uk-z.ok { background: var(--okbg); color: var(--ok) !important; }
.up-uk-fuss { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .65rem; padding-top: .6rem; border-top: 1px solid var(--linie); }

/* ---------- Nachrichten / Benachrichtigen ---------- */
.up-glocke { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--d); color: #fff !important; margin-left: auto; margin-right: .45rem; flex: 0 0 auto; text-decoration: none; }
.up-glocke .up-i { width: 20px; height: 20px; }
.up-glocke b { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--r); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--leinen, #F6F1E7); }
.up-glocke.hat-neu .up-i { animation: up-wackeln 1.6s ease-in-out 2; transform-origin: 50% 10%; }
@keyframes up-wackeln { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); } 30% { transform: rotate(8deg); } 40% { transform: rotate(-5deg); } }
@media (prefers-reduced-motion: reduce) { .up-glocke.hat-neu .up-i { animation: none; } }
.up-glocke + .up-menue-knopf { margin-left: 0; }
.up-news-liste { display: grid; gap: .6rem; margin: 0 0 1rem; }
.up-news { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 18px; background: #fff6df; box-shadow: inset 0 0 0 1px #f0d48f; color: var(--d) !important; text-decoration: none; }
.up-news-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--r); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.up-news-txt { flex: 1; min-width: 0; }
.up-news-txt small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--r); }
.up-news-txt strong { display: block; line-height: 1.25; }
.up-news-txt span { display: block; font-size: .88rem; opacity: .75; margin-top: .1rem; }
.up-news > .up-i:last-child { opacity: .4; flex: 0 0 auto; }
.up-msg { padding: .8rem 0; border-top: 1px solid var(--linie); }
.up-msg:first-of-type { border-top: 0; }
.up-msg header { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; }
.up-msg header strong { font-size: 1.02rem; }
.up-msg header small { flex-basis: 100%; opacity: .65; font-size: .8rem; }
.up-msg-text { margin: .45rem 0 0; white-space: normal; line-height: 1.5; }
.up-msg.neu { position: relative; }
.up-mitteilungen .up-msg.neu { background: #fff6df; margin: 0 -.6rem; padding: .8rem .6rem; border-radius: 12px; border-top: 0; }
.up-msg-liste { display: grid; gap: .8rem; }
.up-msg-liste .up-msg { border-top: 0; padding: 1rem 1.1rem; }
.up-msg-liste .up-msg.neu { box-shadow: inset 4px 0 0 var(--r), var(--schatten); }
.up-msg-umzug { display: flex; align-items: center; gap: .7rem; color: inherit !important; text-decoration: none; flex: 1; min-width: 0; }
.up-msg-umzug small { display: block; opacity: .65; font-size: .8rem; }
.up-msg-ok { display: flex; align-items: center; gap: .4rem; margin: 0 0 .6rem; padding: .55rem .8rem; border-radius: 12px; background: var(--okbg); color: var(--ok); font-weight: 700; font-size: .9rem; }
.up-msg-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .7rem; }
.up-msg-stat { flex: 1 1 10rem; min-width: 0; }
.up-msg-stat small { display: block; margin-top: .25rem; opacity: .75; }
.up-msg-offen { margin-top: .6rem; }
.up-msg-offen summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--r); }
.up-msg-offen ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.up-msg-offen li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-top: 1px dashed var(--linie); font-size: .9rem; }
.up-nachrichten .up-msg.neu { background: rgba(169, 201, 138, .15); margin: 0 -.6rem; padding: .8rem .6rem; border-radius: 12px; }
.up-aend { background: #fff6df; border-radius: 14px; padding: .8rem 1rem; margin: 0 0 1rem; box-shadow: inset 0 0 0 1px #f0d48f; }
.up-aend strong { display: flex; align-items: center; gap: .4rem; color: #7a4b00; }
.up-aend ul { margin: .5rem 0; padding-left: 1.2rem; }
.up-aend p { margin: 0; font-size: .9rem; opacity: .85; }
.up-empf { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.up-empf legend { font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; padding: 0; }
.up-empf-opt { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); cursor: pointer; }
.up-empf-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--d); }
.up-empf-opt:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.up-empf-opt input { width: 20px; height: 20px; accent-color: var(--r); flex: 0 0 auto; }
.up-empf-opt strong { display: block; }
.up-empf-opt small { opacity: .7; }
.up-nicht-noetig { display: block; margin-top: .6rem; }
.up-aufst { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2rem; padding: 0 .6rem; border-radius: 10px; background: var(--d); color: #fff; font-family: var(--fd); font-size: 1.1rem; }
@media (max-width: 420px) { .up-nur-breit { display: none; } }
.up-msg header strong { flex: 1 1 auto; min-width: 0; }
@media (min-width: 1000px) {
	.up-b-mitglied .up-tabs-kopf .up-i { display: none; }
	.up-b-mitglied .up-tabs-kopf a { padding-left: .9rem; padding-right: .9rem; }
	.up-marke-txt strong { white-space: nowrap; }
}
@media (min-width: 1000px) { .up-b-mitglied .up-nur-breit { display: none; } }
@media (max-width: 380px) {
	.up-marke-txt strong { font-size: .98rem; }
	.up-glocke { width: 38px; height: 38px; margin-right: .3rem; }
	.up-kopf-in { gap: .5rem; }
}

/* iOS: während das Menü offen ist, nichts aus der Kopfzeile durchscheinen lassen */
body:has(.up-menue:not([hidden])) .up-kopf { box-shadow: none; }
body:has(.up-menue:not([hidden])) { overflow: hidden; }

/* =====================================================================
   2.9.0 – Feinschliff Design: gleiche Vereinsfarben, ruhigere Flächen,
   klarere Hierarchie, gruppierte Listen, helle Tab-Leiste
   ===================================================================== */
.nvgp {
	--k: #fffdf8;
	--linie: rgba(30, 42, 30, .09);
	--linie2: rgba(30, 42, 30, .16);
	--muted: #6a655c;
	--schatten: 0 1px 2px rgba(30, 42, 30, .05), 0 12px 28px -18px rgba(30, 42, 30, .28);
	--rad: 20px;
}
body.up-app { background: var(--l); }

/* Kopfzeile: leicht, mit Glas-Effekt */
.up-kopf { background: color-mix(in srgb, var(--l) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--linie); }
.up-kopf-in { padding-top: .6rem; padding-bottom: .6rem; }
.up-mark, .up-pw-mark { width: 2.4rem; height: 2.4rem; background: var(--d); color: var(--m); box-shadow: 0 0 0 2px var(--l), 0 0 0 3.5px var(--r); font-size: 1.1rem; }
.up-marke-txt strong { font-size: 1.08rem; letter-spacing: -.01em; }
.up-marke-txt small { font-size: .64rem; letter-spacing: .16em; color: var(--muted); opacity: 1; }
.up-glocke { width: 40px; height: 40px; background: #fff; color: var(--d) !important; box-shadow: inset 0 0 0 1px var(--linie2); }
.up-glocke b { top: -4px; right: -4px; box-shadow: 0 0 0 2px var(--l); }
.up-menue-knopf { height: 40px; background: #fff; color: var(--d); box-shadow: inset 0 0 0 1px var(--linie2); padding: 0 .55rem 0 .3rem; }
.up-menue-av { width: 30px; height: 30px; background: var(--d); color: var(--m); font-size: .9rem; }
.up-menue-av img, .up-menue-knopf img { border-radius: 50%; }
.up-tabs-kopf a { font-size: .92rem; color: var(--muted); }
.up-tabs-kopf a.aktiv { background: var(--d); color: #fff; }

/* Typografie */
.nvgp h1 { font-size: clamp(1.7rem, 6.4vw, 2.3rem); letter-spacing: -.02em; }
.nvgp h2 { font-size: 1.12rem; }
.up-abschnitt { margin: 1.8rem 0 .7rem; }
.up-abschnitt h2 { font-size: 1.12rem; }
.up-abschnitt a { font-size: .88rem; font-weight: 700; }

/* Begrüßung */
.up-hallo { gap: .8rem; margin: .2rem 0 1.1rem; }
.up-hallo .up-avatar { width: 48px; height: 48px; font-size: 1.2rem; }
.up-hallo h1 { font-size: 1.7rem; }
.up-hallo p { font-size: .88rem; letter-spacing: 0; text-transform: none; color: var(--muted); opacity: 1; }

/* Karten */
.up-karte { border-radius: var(--rad); box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); padding: 1.2rem 1.25rem; }
.up-karte h2 .up-i { color: var(--r); }

/* Held: nächster Umzug */
.up-held { border-radius: 24px; padding: 1.3rem 1.3rem 1.15rem; background: radial-gradient(120% 90% at 100% 0%, #2a3a2a 0%, var(--d) 60%); box-shadow: 0 18px 40px -16px rgba(30, 42, 30, .55); }
.up-held::after { content: ""; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%; border: 26px solid rgba(169, 201, 138, .07); font-size: 0; }
.up-held h2 { font-size: clamp(1.4rem, 5.6vw, 1.8rem); margin: .8rem 0 .9rem; line-height: 1.12; }
.up-held-info { gap: 0; margin: 0 0 1.1rem; font-size: .93rem; background: rgba(255, 255, 255, .06); border-radius: 16px; padding: .2rem .85rem; }
.up-held-info li { padding: .55rem 0; align-items: center; }
.up-held-info li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.up-held-info .up-i { margin-top: 0; }
.up-dabei { min-height: 44px; font-size: .95rem; }
.up-held-fuss { justify-content: space-between; }
.up-held-link { font-weight: 700; color: var(--m) !important; }
.up-held-zahl { opacity: .65; }

/* Kennzahlen */
.up-zahl, .up-kpi { border-top: 0; border-radius: 18px; box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); position: relative; padding: .95rem 1rem .9rem; }
.up-zahl::before, .up-kpi::before { content: ""; display: block; width: 22px; height: 4px; border-radius: 4px; background: var(--r); margin: 0 0 .7rem; }
.up-zahl b, .up-kpi b { font-size: 1.9rem; letter-spacing: -.02em; }
.up-zahl span, .up-kpi span { color: var(--muted); opacity: 1; font-size: .8rem; }
.up-kpi.warte { box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); }
.up-kpi.warte::before { background: #e0a526; }

/* Listen: gruppiert in einer Karte mit Trennlinien */
.up-liste { gap: 0; background: var(--k); border-radius: var(--rad); box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); overflow: hidden; }
.up-liste > .up-item { border-radius: 0; box-shadow: none; background: transparent; padding: .8rem .9rem .8rem .8rem; }
.up-liste > .up-item + .up-item { box-shadow: inset 0 1px 0 var(--linie); }
.up-liste > .up-item:hover { transform: none; background: rgba(30, 42, 30, .03); }
.up-item { border-radius: 18px; box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); }
.up-item-txt strong { font-size: 1.02rem; letter-spacing: -.005em; }
.up-item-txt small { color: var(--muted); opacity: 1; }
.up-item.vorbei { opacity: 1; }
.up-item.vorbei .up-kachel { background: #9a968c; }
.up-item.vorbei strong { color: #57534b; }

/* Datumskachel */
.up-kachel { border-radius: 14px; background: var(--d); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.up-kachel.klein { width: 48px; min-height: 52px; border-radius: 12px; }
.up-kachel small { letter-spacing: .12em; }

/* Abzeichen: ruhiger, normale Schreibweise */
.up-badge { text-transform: none; letter-spacing: 0; font-size: .74rem; padding: .22rem .62rem; }
.up-badge.is-rot { background: var(--r); }
.up-badge.is-grau { background: #ece7dd; color: #625e56; }

/* Zeitstrahl */
.up-zeitstrahl { border-left: 2px solid color-mix(in srgb, var(--m) 70%, transparent); margin-left: .45rem; }
.up-monat { color: var(--muted); font-size: .7rem; letter-spacing: .16em; }
.up-zs-punkt::before { left: -9px; width: 12px; height: 12px; border-width: 2.5px; box-shadow: 0 0 0 3px var(--l); }

/* Filter-Chips */
.up-chips a { min-height: 34px; font-size: .86rem; box-shadow: inset 0 0 0 1px var(--linie2); background: transparent; }
.up-chips a.aktiv { background: var(--d); box-shadow: none; }

/* Knöpfe und Felder */
.up-btn { min-height: 46px; font-size: .96rem; letter-spacing: .005em; box-shadow: 0 6px 16px -8px rgba(183, 48, 42, .6); }
.up-btn.hell, .up-btn.rand, .up-btn.dunkel, .up-btn.klein { box-shadow: inset 0 0 0 1px var(--linie2); }
.up-btn.rand { box-shadow: inset 0 0 0 1.5px currentColor; }
.up-btn.dunkel { box-shadow: 0 6px 16px -8px rgba(30, 42, 30, .6); }
.up-btn.klein:not(.hell):not(.rand) { box-shadow: none; }
.up-feld > span { color: var(--muted); opacity: 1; font-size: .7rem; letter-spacing: .1em; }
.up-feld input, .up-feld select, .up-feld textarea, .up-select, .up-nachtragen input[type=text], .up-suche input { border: 1.5px solid var(--linie2); border-radius: 14px; min-height: 48px; }
.up-feld input:focus, .up-feld select:focus, .up-feld textarea:focus { border-color: var(--d); outline: none; box-shadow: 0 0 0 3px rgba(169, 201, 138, .5); }
.up-wahl span { border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--linie2); }
.up-wahl input:checked + span { box-shadow: inset 0 0 0 2px var(--d); background: color-mix(in srgb, var(--m) 18%, #fff); }

/* Detailseite: Info-Zeilen als Liste */
.up-zeile > .up-i { border-radius: 12px; background: color-mix(in srgb, var(--h) 70%, #fff); }
.up-zeile small { color: var(--muted); opacity: 1; }

/* Aufgaben */
.up-todo a { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--linie); background: #fff; }
.up-todo a > .up-i:first-child { border-radius: 12px; }

/* Tab-Leiste: hell, schwebend, aktiver Bereich als dunkle Pille */
.up-tabbar { background: color-mix(in srgb, #fffdf8 88%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px); border-radius: 22px; padding: .3rem; box-shadow: 0 0 0 1px var(--linie2), 0 16px 34px -12px rgba(30, 42, 30, .35); }
.up-tabbar a { color: var(--muted); border-radius: 16px; font-size: .68rem; min-height: 54px; justify-content: center; }
.up-tabbar a.aktiv { background: var(--d); color: #fff; }
.up-tabbar a.aktiv .up-i { color: var(--m); }

/* Cockpit-Umzugskarten am Handy */
.up-uk { border-radius: var(--rad); box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); background: var(--k); }

/* Menü */
.up-menue-panel { background: var(--l); }
.up-menue-panel a.aktiv { background: var(--d); }

/* Detail-Kopf als dunkle Bühne – wie der „Nächster Umzug“ auf der Startseite */
.up-detail-kopf { position: relative; overflow: hidden; align-items: center; background: radial-gradient(120% 120% at 100% 0%, #2a3a2a 0%, var(--d) 62%); color: #fff; border-radius: 24px; padding: 1.15rem 1.2rem 1.2rem; box-shadow: 0 18px 40px -18px rgba(30, 42, 30, .55); }
.up-detail-kopf::after { content: ""; position: absolute; right: -54px; bottom: -70px; width: 170px; height: 170px; border-radius: 50%; border: 24px solid rgba(169, 201, 138, .07); pointer-events: none; }
.up-detail-kopf > div { position: relative; z-index: 1; min-width: 0; }
.up-detail-kopf h1 { color: #fff; font-size: clamp(1.45rem, 6vw, 2.1rem); margin: .35rem 0 .25rem; }
.up-detail-kopf p { color: rgba(255, 255, 255, .72); opacity: 1; font-size: .92rem; }
.up-detail-kopf .up-kachel { background: var(--m); color: var(--d); box-shadow: none; align-self: flex-start; }
.up-detail-kopf .up-kachel small { color: var(--d); opacity: .75; }
.up-detail-kopf .up-badges { margin: 0; }
.up-detail-kopf .up-badge.is-ok { background: rgba(169, 201, 138, .22); color: #cfe6b6; }
.up-detail-kopf .up-badge.is-offen { background: rgba(217, 227, 166, .2); color: var(--h); }
.up-detail-kopf .up-badge.is-grau { background: rgba(255, 255, 255, .14); color: #e9e5dc; }
.up-detail-kopf .up-badge.is-warte { background: rgba(246, 227, 180, .2); color: #f6e3b4; }
.up-detail-kopf .up-badge.is-blau { background: rgba(225, 235, 242, .18); color: #d8e6f0; }
@media (max-width: 999px) {
	.up-aktionen > .up-btn:first-child { grid-column: 1 / -1; }
	.up-aktionen > form.up-inline { display: block; width: 100%; }
}
@media (max-width: 999px) {
	.up-aktionen > form.up-inline { display: grid; }
	.up-aktionen > form.up-inline .up-btn { width: 100%; }
}
@media (max-width: 639px) {
	.up-kpis:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
	.up-kpis:has(> :nth-child(5)) .up-kpi { padding: .75rem .75rem .7rem; }
	.up-kpis:has(> :nth-child(5)) .up-kpi::before { margin-bottom: .5rem; width: 18px; }
	.up-kpis:has(> :nth-child(5)) .up-kpi b { font-size: 1.55rem; }
	.up-kpis:has(> :nth-child(5)) .up-kpi span { font-size: .74rem; }
}
@media (min-width: 640px) { .up-held-fuss > .up-dabei { flex: 0 1 auto; } }
/* Neue Mitteilung auf der Startseite: helle Karte statt gelbem Kasten */
.up-news { background: var(--k); box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); border-radius: var(--rad); align-items: flex-start; }
.up-news-icon { width: 38px; height: 38px; border-radius: 12px; }
.up-news-txt small { text-transform: none; letter-spacing: 0; font-size: .78rem; }
.up-news-txt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); opacity: 1; }
.up-news > .up-i:last-child { align-self: center; }
/* Mitglied einladen */
.up-einladen { margin-bottom: 1rem; }
.up-einladung { background: color-mix(in srgb, var(--m) 14%, #fff); border-radius: 16px; padding: .9rem 1rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m) 55%, transparent); margin: .3rem 0 .6rem; }
.up-einladung-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 .6rem !important; font-size: .92rem; }
.up-einladung-kopf .up-i { color: var(--ok); }
.up-einladung-text { width: 100%; border: 1.5px solid var(--linie2); border-radius: 12px; background: #fff; padding: .7rem .8rem; font: inherit; font-size: .88rem; line-height: 1.45; resize: vertical; color: var(--t); }
.up-einladung-wege { margin: .8rem 0 .4rem; }
/* Kalender-Auswahl */
.up-kal { position: relative; margin: 1rem 0 1.2rem; }
.up-aktionen .up-kal { margin: 0; }
.up-kal > summary { list-style: none; cursor: pointer; display: inline-flex; }
.up-kal > summary::-webkit-details-marker { display: none; }
.up-kal[open] > summary { background: var(--d); color: #fff !important; }
.up-kal-wahl { margin-top: .5rem; background: var(--k); border-radius: 18px; box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); overflow: hidden; max-width: 420px; display: flex; flex-direction: column; }
.up-kal-wahl a { display: block; padding: .8rem 1rem; text-decoration: none; color: var(--d) !important; }
.up-kal-wahl a + a { box-shadow: inset 0 1px 0 var(--linie); }
.up-kal-wahl a:hover { background: rgba(30, 42, 30, .04); }
.up-kal-wahl strong { display: flex; align-items: center; gap: .5rem; font-size: .98rem; }
.up-kal-wahl small { display: block; color: var(--muted); font-size: .8rem; margin-top: .1rem; }
.up-kal-wahl a.empfohlen strong::after { content: "Empfohlen"; font-size: .68rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: var(--okbg); color: var(--ok); }
/* Vereinslogo als runde Plakette */
.up-logo { background: none !important; box-shadow: none !important; border-radius: 50% !important; overflow: hidden; display: block; padding: 0; }
.up-logo svg { width: 100%; height: 100%; display: block; }
.up-mark.up-logo { width: 2.6rem; height: 2.6rem; box-shadow: 0 4px 10px -4px rgba(30, 42, 30, .4) !important; }
.up-pw-mark.up-logo { width: 4rem; height: 4rem; margin-left: auto; margin-right: auto; box-shadow: 0 10px 24px -10px rgba(30, 42, 30, .55) !important; }
/* Saison */
.up-motto { display: inline-flex; align-items: center; gap: .4rem; margin: -.4rem 0 1rem; font-family: var(--fd, 'Roboto Slab', Georgia, serif); font-weight: 700; font-size: .92rem; color: var(--r); }
.up-motto .up-i { width: 1rem; height: 1rem; }
.up-assistent h2 { display: flex; align-items: center; gap: .5rem; }
.up-schritte { list-style: none; margin: .8rem 0 .6rem; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.up-schritte li { display: flex; gap: .8rem; align-items: flex-start; }
.up-schritte li > b { flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: #ece7dd; color: var(--d); font-family: var(--fd, 'Roboto Slab', serif); }
.up-schritte li.jetzt > b { background: var(--r); color: #fff; }
.up-schritte li.fertig > b { background: var(--m); color: var(--d); }
.up-schritte li > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.up-schritte strong { font-size: 1rem; }
.up-schritte span { color: var(--muted); font-size: .88rem; }
.up-schritte .up-saison-form, .up-schritte details { width: 100%; }
.up-saisons { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.up-saison.aktiv { box-shadow: var(--schatten), inset 0 0 0 2px var(--m); }
.up-saison-kopf { display: flex; justify-content: space-between; gap: .6rem; align-items: flex-start; }
.up-saison-kopf h3 { margin: 0; font-size: 1.2rem; }
.up-saison-kopf p { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.up-saison-kopf .up-motto { margin: .35rem 0 0; color: var(--r); }
.up-saison-zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .9rem 0 .4rem; }
.up-saison-zahlen a { display: block; background: #fff; border-radius: 14px; padding: .6rem .8rem; box-shadow: inset 0 0 0 1px var(--linie); text-decoration: none; color: var(--d) !important; }
.up-saison-zahlen b { display: block; font-family: var(--fd, 'Roboto Slab', serif); font-size: 1.5rem; }
.up-saison-zahlen span { font-size: .78rem; color: var(--muted); }
.up-abschnitt-titel { margin: 1.6rem 0 .8rem; font-size: 1.12rem; }
/* Check-in für Umzugs-Team und Rollen */
.up-ci.laeuft { opacity: .55; }
.up-heute-ci { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--d) !important; margin: 0 0 1rem; box-shadow: var(--schatten), inset 0 0 0 2px var(--r); }
.up-heute-ci > span:nth-child(2) { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.up-heute-ci small { color: var(--r); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.up-heute-ci strong { font-family: var(--fd, 'Roboto Slab', serif); font-size: 1.05rem; }
.up-heute-ci em { font-style: normal; color: var(--muted); font-size: .85rem; }
.up-heute-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: var(--r); color: #fff; display: grid; place-items: center; }
.up-rollen { display: grid; gap: .5rem; margin: .6rem 0 .8rem; }
.up-rollen .up-wahl span { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .7rem .9rem; }
.up-rollen .up-wahl small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.up-rollen .up-wahl input:disabled + span { opacity: .45; }
.up-rollen-karte { margin: 1rem 0; }
.up-meldung.up-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 900; width: min(92vw, 460px); box-shadow: 0 16px 36px -12px rgba(30, 42, 30, .45); transition: opacity .35s; margin: 0; }
.up-meldung.up-toast.weg { opacity: 0; }
/* Rolle in der Einladung */
.up-ein-rolle { border: 0; padding: 0; margin: .2rem 0 .6rem; }
.up-chips-wahl { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.up-chips-wahl label { position: relative; cursor: pointer; }
.up-chips-wahl input { position: absolute; opacity: 0; pointer-events: none; }
.up-chips-wahl span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--linie2); font-weight: 600; font-size: .9rem; color: var(--d); background: #fff; }
.up-chips-wahl input:checked + span { background: var(--d); color: #fff; box-shadow: none; }
.up-chips-wahl input:focus-visible + span { outline: 3px solid var(--m); }
.up-rolle-sel { min-height: 36px; border-radius: 999px; border: 1.5px solid var(--linie2); background: #fff; padding: 0 .7rem; font: 600 .82rem inherit; color: var(--d); }
.up-rolle-sel.hat-team { background: var(--h); border-color: transparent; }
.up-rolle-sel.hat-admin { background: var(--r); color: #fff; border-color: transparent; }
.up-rolle-wahl { margin: 0; }
/* Kalender-Auswahl in Knopfreihen: eigene Zeile, nichts überlappt */
.up-aktionen > .up-kal { grid-column: 1 / -1; flex: 1 1 100%; min-width: 0; }
.up-aktionen > .up-kal > summary { width: 100%; justify-content: center; box-sizing: border-box; white-space: normal; text-align: center; }
@media (min-width: 640px) { .up-aktionen > .up-kal { grid-column: auto; flex: 0 1 auto; } .up-aktionen > .up-kal > summary { width: auto; } }
/* Unterlagen / Anlagen */
.up-anlagen-liste { list-style: none; margin: .4rem 0 .6rem; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.up-anlagen-liste li { display: flex; align-items: center; gap: .5rem; }
.up-anlage { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem .6rem .6rem; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--linie); text-decoration: none; color: var(--d) !important; }
.up-anlage:hover { box-shadow: inset 0 0 0 1.5px var(--d); }
.up-anlage-vorschau { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; background: #eee; }
.up-anlage-ic { width: 56px; height: 56px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; background: var(--r); color: #fff; font: 800 .8rem var(--fd, 'Roboto Slab', serif); letter-spacing: .06em; }
.up-anlage-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.up-anlage-txt strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-anlage-txt small { color: var(--muted); font-size: .8rem; }
.up-anlage-form input[type=file] { width: 100%; padding: .6rem; border: 1.5px dashed var(--linie2); border-radius: 14px; background: #fff; box-sizing: border-box; }
.up-pin-gross{font-family:"Roboto Slab",serif;font-weight:800;font-size:2.4rem;letter-spacing:.35em;margin:.6rem 0 .2rem;color:var(--up-rot,#b7302a);text-align:center}
.up-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.up-scroll,.up-rolle-wahl{position:relative}
.up-felder:has(.up-leitung-schalter input:not(:checked)) .up-leitung-feld{display:none}
@media (max-width:600px){#pro-umzug th.breit,#pro-umzug td.up-balken-zelle{display:none}}
.up-knoepfe .up-btn{white-space:nowrap}
.up-pdf-kopf{display:flex;gap:.8rem;align-items:flex-start}.up-pdf-kopf>.up-i{width:1.6rem;height:1.6rem;color:var(--up-rot,#b7302a);flex:0 0 auto;margin-top:.15rem}.up-pdf-kopf h2{margin:0}
.up-pdf-karte .up-check{margin:.7rem 0 .2rem}.up-pdf-karte .up-aktionen{margin-top:.6rem}
.up-btn.up-wa{background:#1f8f4e;border-color:#1f8f4e;color:#fff}.up-btn.up-wa:hover{background:#17773f}
.up-pdf-hinweis{background:#fff7e0;border-radius:10px;padding:.6rem .8rem}
.up-pdf-knoepfe{display:grid;grid-template-columns:1fr;gap:.5rem}.up-pdf-knoepfe .up-btn{justify-content:center;white-space:nowrap}
@media (min-width:700px){.up-pdf-knoepfe{display:flex;flex-wrap:wrap}}
/* Offline-Check-in */
.up-offline{border:1.5px dashed #c9bfa9;border-radius:14px;padding:.8rem .9rem;margin:.2rem 0 .9rem;background:#fffdf7}
.up-offline.ist-bereit{border-style:solid;border-color:#9cc18a;background:#f3f8ee}
.up-offline.ist-offline{border-color:#d9a441;background:#fff6e2}
.up-offline-kopf{display:flex;gap:.6rem;align-items:flex-start}.up-offline-kopf>.up-i{flex:0 0 auto;width:1.3rem;height:1.3rem;margin-top:.1rem;color:var(--up-gruen,#1e2a1e)}
.up-offline-kopf strong{display:block}.up-offline-kopf small{display:block;color:var(--up-grau,#5d6a5b);line-height:1.4;margin-top:.15rem}
.up-offline-knoepfe{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.6rem}
.up-offline-warte{margin:.55rem 0 0;font-weight:700;color:#8a5a00;font-size:.88rem}
#nvg-tn tr.wartet .up-ci{outline:2px dashed #d9a441;outline-offset:2px}
#nvg-tn tr.wartet .tn-nr strong::after{content:" ⏳";font-size:.8em}
/* Scanner */
.up-scanner{position:fixed;inset:0;z-index:9999;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center}
.up-scanner video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.up-scan-rahmen{position:relative;width:min(70vw,300px);aspect-ratio:1;border:3px solid rgba(255,255,255,.9);border-radius:22px;box-shadow:0 0 0 100vmax rgba(0,0,0,.45)}
.up-scan-info{position:relative;margin:1.1rem 1rem;padding:.7rem 1rem;border-radius:12px;background:rgba(0,0,0,.65);color:#fff;font-weight:700;text-align:center}
.up-scanner.ok .up-scan-rahmen{border-color:#5fd06a}.up-scanner.ok .up-scan-info{background:#1f8f4e}
.up-scanner.neu .up-scan-rahmen{border-color:#f0c34a}
.up-scanner .up-btn{position:relative}
/* Ausweis */
.up-ausweis{max-width:420px;margin:0 auto;border-radius:22px;overflow:hidden;background:#F6F1E7;box-shadow:0 12px 30px rgba(30,42,30,.18)}
.up-ausweis-kopf{background:#1e2a1e;color:#fff;display:flex;gap:.8rem;align-items:center;padding:1rem 1.1rem}
.up-ausweis-kopf .up-logo{width:48px;height:48px;flex:0 0 auto}.up-ausweis-kopf strong{display:block;font-family:"Roboto Slab",serif;font-size:1.15rem}
.up-ausweis-kopf span{display:block;color:#A9C98A;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.up-ausweis-person{display:flex;gap:1rem;align-items:center;padding:1.1rem 1.1rem .4rem}
.up-ausweis-person .up-avatar{width:76px;height:76px;font-size:1.6rem}
.up-ausweis-person h1{margin:0;font-size:1.35rem;line-height:1.2}.up-ausweis-person p{margin:.2rem 0 0;color:var(--up-grau,#5d6a5b)}
.up-ausweis-nr{display:flex;justify-content:space-between;align-items:flex-end;padding:.2rem 1.1rem .6rem}
.up-ausweis-nr small{display:block;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--up-grau,#5d6a5b)}
.up-ausweis-nr b{font-family:"Roboto Slab",serif;font-size:2.4rem;line-height:1;color:#b7302a}
.up-ausweis-qr{background:#fff;margin:.4rem 1.1rem 1rem;border-radius:16px;padding:1rem;text-align:center}
.up-ausweis-qr svg{width:min(62vw,230px);height:auto}.up-ausweis-qr p{margin:.4rem 0 0;font-size:.82rem;color:var(--up-grau,#5d6a5b)}
.up-ausweis-fuss{background:#b7302a;color:#fff;text-align:center;font-family:"Roboto Slab",serif;font-weight:700;font-size:.85rem;padding:.55rem}
.up-ausweis-link{display:flex;align-items:center;gap:.5rem;margin:.2rem 0 1rem;padding:.7rem .9rem;border-radius:14px;background:#fff;border:1px solid #e4ddcf;font-weight:700;color:inherit;text-decoration:none}
.up-ausweis-link small{margin-left:auto;font-weight:600;color:var(--up-grau,#5d6a5b)}
.up-verantw{border-left:4px solid #d9a441}
.nvgp [hidden],.up-offline [hidden],.up-pdf-karte [hidden],.up-push [hidden]{display:none!important}
/* Mitglied suchen & wählen */
.up-pwahl-huelle{position:relative;display:block;flex:1 1 auto;min-width:0}
.up-nachtragen .up-pwahl-huelle:has(input.kurz){flex:0 0 auto}
.up-pwahl{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:60;background:#fff;border:1px solid #e4ddcf;border-radius:14px;box-shadow:0 12px 28px rgba(30,42,30,.18);max-height:320px;overflow:auto;padding:.3rem;min-width:240px}
.up-pwahl-opt{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"nr name" "nr haes";column-gap:.7rem;align-items:center;width:100%;text-align:left;border:0;background:none;padding:.55rem .6rem;border-radius:10px;font:inherit;color:inherit;cursor:pointer}
.up-pwahl-opt b{grid-area:nr;min-width:2.6rem;text-align:center;background:#1e2a1e;color:#fff;border-radius:8px;padding:.25rem .4rem;font-size:.85rem}
.up-pwahl-opt span{grid-area:name;font-weight:700}.up-pwahl-opt small{grid-area:haes;color:var(--up-grau,#5d6a5b);font-size:.78rem}
.up-pwahl-opt:hover,.up-pwahl-opt.aktiv{background:#f3f8ee}
