/* Budokan Mitglieder – Seite „Intern“. Schrift, Schriftgrößen und Überschriften kommen vom Theme (Kubio-Klasse with-kubio-global-style; bmg.js übernimmt die Theme-Schriften, falls das Theme sie nur in eigenen Blöcken setzt). Farben über #bmg-app (stärker als die Linkregel des Themes), Kontrast ≥ 4,5:1. */
#bmg-app { --bmg-ink: #2b2d42; --bmg-muted: #5b5e73; --bmg-primary: #1f5fd6; --bmg-primary-hover: #1a50b5; --bmg-error: #a12622; --bmg-line: rgba(43,45,66,.18); --bmg-card: #fff; --bmg-soft: #f3f5f9;
  max-width: 880px; margin: 0 auto; padding: clamp(32px, 7vw, 100px) 0 clamp(24px, 5vw, 72px); font-family: var(--bmg-font, inherit); color: var(--bmg-ink); }
#bmg-app h3, #bmg-app h4 { font-family: var(--bmg-font-heading, inherit); }
#bmg-app input, #bmg-app select, #bmg-app textarea, #bmg-app button, #bmg-app label, #bmg-app legend { font-family: inherit; }
#bmg-app .bmg-card { background: var(--bmg-card); border-radius: 14px; box-shadow: 0 10px 30px rgba(43,45,66,.08); border-top: 4px solid var(--bmg-primary); padding: 24px 24px 20px; margin: 0 0 24px; }
#bmg-app .bmg-title, #bmg-app .bmg-subtitle { margin-top: 0; }
#bmg-app p { margin: 0 0 12px; }
#bmg-app .bmg-label { font-weight: 700; margin: 0 0 4px; color: var(--bmg-muted); }
#bmg-app .bmg-slots, #bmg-app .bmg-result { list-style: none; margin: 0 0 14px; padding: 0; font-weight: 600; }
#bmg-app .bmg-steps { margin: 0 0 16px; padding-left: 22px; }
#bmg-app .bmg-steps li { margin: 2px 0; }
#bmg-app .bmg-deadline { background: var(--bmg-soft); border-radius: 10px; padding: 10px 14px; }
#bmg-app .bmg-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 14px; }
#bmg-app .bmg-facts dt { font-weight: 700; color: var(--bmg-muted); }
#bmg-app .bmg-facts dd { margin: 0; }
#bmg-app .bmg-notice { border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; }
#bmg-app .bmg-notice--info { background: #eaf4ff; color: #1d4f86; }
#bmg-app .bmg-notice--success { background: #e8f6ec; color: #1e5b2f; }
#bmg-app .bmg-notice--error { background: #fdecec; color: #8a1c1c; }
#bmg-app .bmg-form { display: grid; gap: 12px; margin: 0 0 16px; }
#bmg-app .bmg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#bmg-app .bmg-field { margin: 0; display: grid; gap: 4px; }
#bmg-app .bmg-field > label, #bmg-app legend { font-weight: 600; }
#bmg-app .bmg-field input[type=text], #bmg-app .bmg-field input[type=email], #bmg-app .bmg-field input[type=tel], #bmg-app .bmg-field input[type=number], #bmg-app .bmg-field select {
  width: 100%; box-sizing: border-box; border: 1px solid rgba(43,45,66,.35); border-radius: 8px; padding: 10px 12px; font-size: 1em; background: #fff; color: var(--bmg-ink); }
#bmg-app .bmg-field input:focus-visible, #bmg-app .bmg-field select:focus-visible, #bmg-app .bmg-btn:focus-visible, #bmg-app a:focus-visible { outline: 3px solid rgba(31,95,214,.45); outline-offset: 2px; }
#bmg-app .has-error input, #bmg-app .has-error select { border-color: var(--bmg-error); }
#bmg-app .bmg-error { color: var(--bmg-error); font-size: .875em; font-weight: 600; }
#bmg-app .bmg-req { color: var(--bmg-error); }
#bmg-app .bmg-opt, #bmg-app .bmg-hint { color: var(--bmg-muted); font-size: .875em; font-weight: 400; }
#bmg-app fieldset { border: 0; padding: 0; margin: 0; }
#bmg-app .bmg-radios label, #bmg-app .bmg-check label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin: 4px 0; }
#bmg-app .bmg-radios input, #bmg-app .bmg-check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
#bmg-app .bmg-doi { border-left: 4px solid var(--bmg-primary); background: #eaf4ff; color: #1d4f86; padding: 10px 14px; border-radius: 0 10px 10px 0; }
#bmg-app .bmg-btn { background: var(--bmg-primary); color: #fff; border: 0; border-radius: 8px; padding: 11px 20px; font-size: 1em; font-weight: 600; line-height: 1.3; cursor: pointer; display: inline-block; text-decoration: none; }
#bmg-app .bmg-btn:hover, #bmg-app .bmg-btn:focus-visible { background: var(--bmg-primary-hover); }
#bmg-app a, #bmg-app a:visited { color: var(--bmg-primary); text-decoration: underline; }
#bmg-app a.bmg-btn, #bmg-app a.bmg-btn:visited, #bmg-app a.bmg-btn:hover { color: #fff; text-decoration: none; }
#bmg-app .bmg-messenger { display: flex; flex-wrap: wrap; gap: 10px; }
#bmg-app a.bmg-btn--whatsapp { background: #0b7a3e; }
#bmg-app a.bmg-btn--whatsapp:hover, #bmg-app a.bmg-btn--whatsapp:focus-visible { background: #086232; }
#bmg-app a.bmg-btn--signal { background: #2c5fd4; }
#bmg-app a.bmg-btn--signal:hover, #bmg-app a.bmg-btn--signal:focus-visible { background: #234cad; }
#bmg-app .bmg-copy { border: 1px solid rgba(43,45,66,.35); background: #fff; color: var(--bmg-ink); border-radius: 6px; padding: 2px 8px; font-size: .9em; cursor: pointer; margin-left: 4px; }
#bmg-app .bmg-notice a { color: inherit; }
#bmg-app .bmg-pay { border-top: 1px solid var(--bmg-line); padding-top: 16px; margin-top: 8px; }
#bmg-app .bmg-qr { max-width: 180px; height: auto; border-radius: 8px; }
#bmg-app .bmg-table-wrap { overflow-x: auto; }
#bmg-app .bmg-poll { border-collapse: collapse; width: 100%; font-size: .94em; }
#bmg-app .bmg-poll th, #bmg-app .bmg-poll td { border-bottom: 1px solid var(--bmg-line); padding: 8px; text-align: center; }
#bmg-app .bmg-poll th[scope=row], #bmg-app .bmg-poll thead th:first-child { text-align: left; }
#bmg-app .bmg-poll input { width: 20px; height: 20px; }
#bmg-app .bmg-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#bmg-app .bmg-desc p:last-child { margin-bottom: 14px; }
@media (max-width: 600px) {
  #bmg-app .bmg-grid { grid-template-columns: 1fr; }
  #bmg-app .bmg-card { padding: 18px 16px; }
  body .wp-block-kubio-page-title { font-size: clamp(26px, 8vw, 40px) !important; line-height: 1.15 !important; -webkit-hyphens: auto; hyphens: auto; }
}
/* Darkmode-Plugin (html[data-theme=dark]): farbige Hinweise mit hellem Text, damit der Kontrast erhalten bleibt */
html[data-theme="dark"] #bmg-app .bmg-notice--info, html[data-theme="dark"] #bmg-app .bmg-doi { background: #1b2a44; color: #cfe1ff; }
html[data-theme="dark"] #bmg-app .bmg-notice--success { background: #17301f; color: #c6ebd0; }
html[data-theme="dark"] #bmg-app .bmg-notice--error { background: #3a1a1a; color: #ffd2d2; }
html[data-theme="dark"] #bmg-app .bmg-error, html[data-theme="dark"] #bmg-app .bmg-req { color: #ff9b9b; }
html[data-theme="dark"] #bmg-app a:not(.bmg-btn), html[data-theme="dark"] #bmg-app a:not(.bmg-btn):visited { color: #9cc1ff; }
