/* Mitgliederbereich „Mein Verein“ – ergänzt app.css */
.app-body { background: var(--paper); min-height: 100vh; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.app-main { width: min(560px, 100% - 32px); margin: 0 auto; padding: calc(20px + env(safe-area-inset-top)) 0 28px; }
.app-center { display: grid; place-items: center; min-height: 82vh; }
.app-card-plain { width: 100%; padding: 30px 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.app-card-plain h1 { font-size: 1.7rem; text-transform: none; letter-spacing: -.02em; }
.app-logo { width: 190px; margin: 0 0 22px; }
.app-h1 { font-size: 1.9rem; text-transform: none; letter-spacing: -.03em; margin: 6px 0 18px; }
.app-h2 { font-size: 1.15rem; margin: 26px 0 10px; }
.small { font-size: .84rem; }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.form .switch { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 8px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.form .switch input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); }
.form fieldset.plain { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.form .btn { margin-top: 18px; }
.linkish { padding: 0; border: 0; background: none; color: var(--gold-deep); font: inherit; font-size: .84rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; }
.alert { margin: 0 0 16px; }

/* Ausweis */
.member-card { position: relative; overflow: hidden; margin: 4px 0 10px; border-radius: 22px; background: linear-gradient(135deg, #3a3a39 0%, #2c2c2b 60%, #3b3426 100%); color: #fff; box-shadow: 0 22px 50px rgba(34, 34, 30, .28); }
.member-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(197, 166, 109, .14); pointer-events: none; }
.mc-top { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0; }
.mc-top img { width: 44px; height: 44px; border-radius: 50%; background: var(--white); }
.mc-club { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.mc-kind { display: block; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; padding: 18px 20px 16px; }
.mc-name { margin: 0 0 12px; font-size: 1.45rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; }
.mc-data dl { margin: 0; display: grid; gap: 8px; }
.mc-data dt { color: rgba(255, 255, 255, .62); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mc-data dd { margin: 0; font-size: .9rem; font-weight: 600; }
.mc-no { font-size: 1.15rem !important; letter-spacing: .02em; color: var(--gold); }
.mc-qr { padding: 6px; background: var(--white); border-radius: 12px; line-height: 0; }
.mc-qr svg { width: 128px; height: 128px; }
.mc-foot { display: flex; justify-content: space-between; align-items: center; padding: 11px 20px; background: rgba(0, 0, 0, .22); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mc-live { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); }
.mc-live span { width: 8px; height: 8px; border-radius: 50%; background: #7fd07a; animation: mc-pulse 1.6s ease-in-out infinite; }
@keyframes mc-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .mc-live span { animation: none; } }

/* Kacheln */
.app-tile { display: flex; align-items: center; gap: 14px; margin: 12px 0 0; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; line-height: 1.35; }
.app-tile:hover { border-color: var(--gold); }
.tile-ico { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; font-size: 1.1rem; }
.fee-tile.is-ok .tile-ico { background: var(--ok-soft); color: var(--ok); }
.fee-tile.is-open { border-color: var(--warn); background: var(--warn-soft); }
.fee-tile.is-open .tile-ico { background: var(--white); color: var(--warn); }
.app-event { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; line-height: 1.35; }
.app-event .tile, .app-ev .tile { width: 64px; height: 70px; border-radius: 12px; }
.app-event .tile-big, .app-ev .tile-big { font-size: 1.5rem; }
.install-hint { margin: 20px 0 0; padding: 14px 16px; border: 1px dashed var(--k30); border-radius: var(--radius-s); font-size: .86rem; }
.install-hint .linkish { display: block; margin-top: 6px; }

/* Termine */
.app-ev { margin: 0 0 14px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); }
.app-ev-head { display: flex; gap: 14px; align-items: flex-start; }
.app-ev h2 { font-size: 1.12rem; margin: 0 0 4px; }
.app-ev .eyebrow { margin-bottom: 4px; font-size: .64rem; }
.app-ev .eyebrow::before { width: 18px; }
.app-ev > p { margin: 10px 0 0; }
.app-reg { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: #24401e; line-height: 1.5; }
.app-reg.is-waitlist { background: var(--warn-soft); color: var(--warn); }
.app-reg a { color: inherit; }
.app-reg-form { margin-top: 12px; }
.app-reg-form > summary { list-style: none; }
.app-reg-form > summary::-webkit-details-marker { display: none; }
.app-reg-form[open] > summary { display: none; }

/* Panels */
.app-panel { margin: 0 0 14px; padding: 18px 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); }
.app-panel h2 { font-size: 1.12rem; margin-bottom: 10px; }
.app-panel details summary { margin-top: 16px; cursor: pointer; color: var(--gold-deep); font-weight: 700; }
.bank { display: grid; gap: 10px; margin: 12px 0; padding: 14px; background: var(--paper); border-radius: 12px; }
.bank dt { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bank dd { margin: 0; overflow-wrap: anywhere; }
.agenda-list { margin: 0; padding-left: 1.3em; font-size: .92rem; }
.agenda-list li { margin: 4px 0; }
.doc-group { margin: 16px 0 6px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doc-list { margin: 0; padding: 0; list-style: none; }
.doc-list a { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; line-height: 1.35; }
.doc-list li:last-child a { border-bottom: 0; }
.doc-ico { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--solid); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .06em; }

/* Untere Leiste */
.app-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.app-tabs a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; color: var(--muted); font-size: .7rem; font-weight: 700; text-decoration: none; }
.app-tabs a[aria-current] { color: var(--ink); background: var(--gold-soft); }
.app-tabs a[aria-current] svg { color: var(--gold-deep); }
@media (min-width: 700px) {
  .app-tabs { left: 50%; right: auto; bottom: 16px; width: 520px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-s); }
}

/* Ausweis-Prüfung */
.check-card { width: 100%; padding: 34px 24px; background: var(--white); border-radius: var(--radius); border-top: 6px solid var(--ok); box-shadow: var(--shadow-s); text-align: center; }
.check-card.is-bad { border-top-color: var(--bad); }
.check-card .eyebrow { justify-content: center; }
.check-card h1 { font-size: 1.8rem; text-transform: none; }
.check-icon { width: 76px; height: 76px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 2.4rem; font-weight: 700; }
.is-bad .check-icon { background: var(--bad-soft); color: var(--bad); }
.check-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }

@media (max-width: 380px) {
  .mc-qr svg { width: 104px; height: 104px; }
  .mc-name { font-size: 1.25rem; }
  .grid2 { grid-template-columns: 1fr; }
}
.link-login { margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.link-login summary { cursor: pointer; color: var(--gold-deep); font-weight: 700; font-size: .92rem; }
.link-login[open] summary { margin-bottom: 6px; }
.form .show-pw { margin: 12px 0 0; }

/* Chat */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tab-badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #c0392b; color: #fff; font-size: .66rem; line-height: 18px; text-align: center; }
.chat-tile { border-color: var(--gold); background: var(--gold-soft); }
.app-chat { padding-bottom: 150px; }
.app-chat #ende { display: block; height: 1px; }
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.chat-msg { display: grid; max-width: 84%; }
.chat-msg.is-out { justify-self: start; }
.chat-msg.is-me { justify-self: end; text-align: right; }
.chat-bubble { padding: 11px 15px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-align: left; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg.is-out .chat-bubble { border-bottom-left-radius: 5px; }
.chat-msg.is-me .chat-bubble { background: var(--solid); border-color: var(--solid); color: #fff; border-bottom-right-radius: 5px; }
.chat-meta { margin-top: 4px; font-size: .72rem; color: var(--muted); }
.chat-compose { position: fixed; left: 0; right: 0; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 25; display: flex; gap: 8px; align-items: flex-end; padding: 10px 16px; background: rgba(247, 246, 242, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.chat-compose textarea { flex: 1; min-height: 46px; max-height: 160px; padding: 11px 14px; border: 1px solid var(--k30); border-radius: 22px; background: var(--white); font: inherit; font-size: 1rem; line-height: 1.4; resize: none; }
.chat-compose .btn { flex: 0 0 46px; width: 46px; min-height: 46px; padding: 0; }
@media (min-width: 700px) {
  .chat-compose { left: 50%; right: auto; width: 560px; transform: translateX(-50%); bottom: 92px; border: 1px solid var(--line); border-radius: 20px; }
}

/* Desktop */
.app-desk, .desk-only { display: none; }
@media (min-width: 960px) {
  .app-body.has-nav { padding-bottom: 48px; }
  .has-nav .app-tabs { display: none; }
  .desk-only { display: block; }
  .app-desk { display: block; position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
  .app-desk-in { display: flex; align-items: center; gap: 28px; width: min(1140px, 100% - 64px); margin: 0 auto; min-height: 76px; }
  .app-desk-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
  .app-desk-brand img { width: 160px; height: auto; }
  .app-desk-brand span { padding-left: 14px; border-left: 1px solid var(--line); color: var(--gold-deep); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
  .app-desk nav { display: flex; gap: 6px; margin-left: auto; }
  .app-desk nav a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--ink); }
  .app-desk nav a:hover { background: var(--paper); }
  .app-desk nav a[aria-current] { background: var(--gold-soft); color: var(--ink-deep); }
  .desk-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #c0392b; color: #fff; font-size: .7rem; line-height: 20px; text-align: center; }
  .app-desk-user { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
  .app-desk-user .avatar { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--solid); color: #fff; font-weight: 700; font-size: .9rem; }
  .app-desk-name { display: grid; font-size: .84rem; font-weight: 700; line-height: 1.25; max-width: 190px; }
  .app-desk-name small { color: var(--muted); font-weight: 400; font-size: .74rem; }
  .app-desk-user form { margin: 0; }
  .app-desk-user button { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }

  .has-nav .app-main { width: min(1140px, 100% - 64px); padding-top: 34px; }
  .has-nav .app-h1 { font-size: 2.2rem; margin: 0 0 24px; }
  .home-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .home-side .app-h2 { margin-top: 0; }
  .member-card { margin-top: 0; }
  .mc-qr svg { width: 150px; height: 150px; }
  .ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
  .ev-grid .app-ev { margin: 0; }
  .two-col, .club-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .club-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .club-grid > .app-panel:nth-child(2) { grid-row: span 3; }
  .app-chat { width: min(820px, 100% - 64px) !important; padding-bottom: 130px; }
  .has-nav .chat-compose { bottom: 24px; width: min(820px, 100% - 64px); }
  .chat-msg { max-width: 70%; }
}
@media (min-width: 960px) { .install-hint { display: none !important; } }
@media (min-width: 960px) and (max-width: 1200px) {
  .app-desk-brand span, .app-desk-name { display: none; }
  .app-desk-in { gap: 18px; width: calc(100% - 40px); }
  .app-desk nav a { padding: 9px 12px; }
  .app-desk-user { padding-left: 14px; }
  .has-nav .app-main { width: calc(100% - 48px); }
}
@media (max-width: 959px) {
  .two-col { display: flex; flex-direction: column; }
  .two-col > div { display: contents; }
  .two-col .o-2 { order: 2; } .two-col .o-3 { order: 3; } .two-col .o-4 { order: 4; }
}

/* Ausweis: Foto und Hintergrund */
.member-card.has-bg { background: linear-gradient(100deg, rgba(34, 34, 33, .86) 0%, rgba(34, 34, 33, .66) 48%, rgba(34, 34, 33, .38) 100%), var(--card-bg) center / cover no-repeat, #2c2c2b; }
.member-card.has-bg .mc-top, .member-card.has-bg .mc-data { text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.member-card.has-bg::after { display: none; }
.mc-person { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.mc-person .mc-name { margin: 0; }
.mc-photo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); background: #444; }
.mc-photo.is-empty { display: grid; place-items: center; align-content: center; gap: 0; border: 2px dashed rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.photo-row { display: flex; gap: 18px; align-items: flex-start; }
.photo-preview { flex: 0 0 112px; width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--paper); border: 3px solid var(--gold); color: var(--k30); }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-form { margin: 10px 0 6px; }
.photo-pick { cursor: pointer; }
.photo-pick.is-busy { opacity: .6; pointer-events: none; }
.photo-pick.is-busy::after { content: " …"; }
.check-photo { display: block; width: 132px; height: 132px; margin: 6px auto 14px; border-radius: 50%; object-fit: cover; border: 4px solid var(--ok); }
.check-ok { color: var(--ok); }
@media (max-width: 420px) { .photo-row { flex-direction: column; align-items: center; text-align: center; } .mc-photo { flex-basis: 60px; width: 60px; height: 60px; } }



.member-card { position: relative; }
.mc-credit { position: absolute; right: 16px; bottom: 46px; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); font-size: .58rem; letter-spacing: .04em; color: rgba(255, 255, 255, .55); }

.chat-msg.is-sending .chat-bubble { opacity: .7; }
.chat-msg.is-failed .chat-bubble { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }

/* Neuigkeiten, MV-Rückmeldung, Schnell-Anmeldung (2.8.0) */
.badge-ask { background: #fbe9c6; color: #7a4f00; }
.app-tile.is-ask { border-left: 4px solid var(--gold, #c5a66d); }
.news-list { display: grid; gap: 14px; max-width: 760px; }
.news-item h2 { margin: 2px 0 8px; }
.news-item p.small { margin: 0; }
.news-body { line-height: 1.6; overflow-wrap: anywhere; }
.rsvp { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #e0ded8); }
.rsvp-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rsvp-btn { min-height: 46px; padding: 8px; border: 1.5px solid var(--line, #e0ded8); border-radius: 12px; background: var(--white); font: inherit; font-weight: 700; font-size: .9rem; color: inherit; cursor: pointer; }
.rsvp-btn:hover { border-color: var(--gold, #c5a66d); }
.rsvp-btn.is-yes.is-sel { background: #2f6b3a; border-color: #2f6b3a; color: #fff; }
.rsvp-btn.is-maybe.is-sel { background: #c5a66d; border-color: #c5a66d; color: #fff; }
.rsvp-btn.is-no.is-sel { background: #6b6b68; border-color: #6b6b68; color: #fff; }
.rsvp-note { margin-top: 10px; }
.rsvp-note summary { cursor: pointer; color: var(--muted, #5f5f5d); }
.rsvp-note input { width: 100%; margin-top: 6px; }
.quick-reg { margin: 10px 0 6px; }
.app-reg-form.is-more { margin-bottom: 8px; }
.app-reg-form.is-more summary { list-style: none; cursor: pointer; text-align: center; display: block; text-decoration: underline; }
.app-reg-form.is-more summary::-webkit-details-marker { display: none; }
@media (max-width: 400px) { .rsvp-btns { grid-template-columns: 1fr; } }
.rsvp-note input { box-sizing: border-box; height: 44px; padding: 0 12px; border: 1px solid var(--line, #e0ded8); border-radius: 10px; font: inherit; font-size: .95rem; background: var(--white); margin-bottom: 8px; }
.rsvp-note input:focus { outline: none; border-color: var(--gold, #c5a66d); }

/* News-Hinweis: erscheint einmal pro neuer Meldung */
.news-pop { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 26px 24px 22px; border: 0; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.news-pop::backdrop { background: rgba(34, 34, 30, .5); }
.news-pop-k { margin: 0 0 6px; color: var(--gold-deep); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.news-pop h2 { margin: 0 0 10px; font-size: 1.4rem; line-height: 1.2; }
.news-pop-body { max-height: 45vh; overflow-y: auto; font-size: .95rem; }
.news-pop-meta { margin: 12px 0 16px; color: var(--muted); font-size: .8rem; }
.news-pop-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.news-pop-actions form { margin: 0; }
@media (max-width: 560px) { .news-pop { margin: auto auto 0; width: 100%; max-width: none; border-radius: 24px 24px 0 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); } .news-pop-actions .btn { width: 100%; } .news-pop-actions form { width: 100%; } }

/* Über uns: Personen mit Foto */
.about { padding: 24px 24px 26px; margin-bottom: 14px; }
.about-intro { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-start; margin-bottom: 18px; }
.about-intro p { margin: 0; flex: 1 1 300px; color: var(--muted); }
.about-k { margin: 0 0 4px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.about h2 { margin: 0; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.person { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.person-ph { width: 96px; height: 96px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; border: 3px solid var(--gold); background: var(--gold-soft); color: var(--gold-deep); font-size: 1.8rem; font-weight: 700; }
.person-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.person-role { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.person-name { font-size: 1.02rem; margin: 2px 0; overflow-wrap: anywhere; }
.person-task { font-size: .8rem; color: var(--muted); }
.person-act { display: flex; gap: 8px; margin-top: 10px; }
.person-act a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.person-act a:hover { border-color: var(--gold); color: var(--gold-deep); }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .about { padding: 18px 16px 20px; }
  .people { gap: 10px; }
  .person { flex-direction: column; text-align: center; gap: 10px; padding: 14px 10px; }
  .person-info { align-items: center; }
  .person-ph { width: 84px; height: 84px; }
  .person-task { display: none; }
}

/* 2.17.5 – Handy: kompakter und besser lesbar */
.mc-name { overflow-wrap: break-word; word-break: normal; hyphens: manual; }
@media (max-width: 640px) {
  .app-body { font-size: .94rem; line-height: 1.5; }
  .app-main { width: calc(100% - 28px); padding-top: calc(14px + env(safe-area-inset-top)); }
  .app-h1 { font-size: 1.5rem; margin: 4px 0 14px; }
  .app-h2 { font-size: 1.05rem; margin: 22px 0 8px; }
  .member-card { border-radius: 18px; }
  .mc-top { padding: 14px 16px 0; gap: 10px; }
  .mc-top img { width: 38px; height: 38px; }
  .mc-club { font-size: .74rem; }
  .mc-kind { font-size: .62rem; }
  .mc-body { gap: 10px; padding: 14px 16px 12px; }
  .mc-person { gap: 12px; margin-bottom: 10px; }
  .mc-photo, .mc-photo.is-empty { flex: 0 0 52px; width: 52px; height: 52px; border-width: 2px; }
  .mc-name { font-size: clamp(1.02rem, 4.6vw, 1.2rem); line-height: 1.2; }
  .mc-data dl { gap: 6px; }
  .mc-data dt { font-size: .58rem; }
  .mc-data dd { font-size: .84rem; }
  .mc-no { font-size: 1rem !important; }
  .mc-qr { padding: 5px; border-radius: 10px; }
  .mc-qr svg { width: 104px; height: 104px; }
  .mc-credit { bottom: 40px; right: 12px; }
  .mc-foot { padding: 9px 16px; font-size: .66rem; }
  .app-tile, .app-event { gap: 12px; padding: 11px 13px; font-size: .9rem; }
  .tile-ico { flex-basis: 34px; height: 34px; font-size: .95rem; }
  .app-event .tile, .app-ev .tile { width: 54px; height: 60px; }
  .app-event .tile-big, .app-ev .tile-big { font-size: 1.25rem; }
  .app-ev, .app-panel { padding: 14px; }
  .app-ev h2, .app-panel h2 { font-size: 1.02rem; }
  .app-tabs a { font-size: .64rem; padding: 5px 2px; }
  .app-tabs svg { width: 22px; height: 22px; }
  .btn { min-height: 44px; font-size: .92rem; }
  .install-hint { font-size: .82rem; padding: 12px 14px; }
}
@media (max-width: 360px) { .mc-qr svg { width: 92px; height: 92px; } .mc-photo, .mc-photo.is-empty { flex-basis: 44px; width: 44px; height: 44px; } }

/* 2.21.0 Live-Chat */
.chat-live { margin: -6px 0 10px; font-size: .8rem; color: var(--muted, #6b6a66); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3f9a4a; margin-right: 4px; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 50% { opacity: .35; } }
.chat-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 60; padding: 12px 18px; border-radius: 99px; background: #2f2f2e; color: #fff !important; text-decoration: none; font-size: .86rem; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap; }
