/* KCC Werbemittel (Paket P6, 21.10.2026): Mediathek, Werbevideothek, Personalisierter Flyer/Poster, Social Media, Admin.
   Einheitliches Gold (R37), responsiv (Desktop, Tablet, Handy). Eigenstaendig (braucht keine andere CSS-Datei). Vorsilbe: wm- */
.wm { font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #f3ecdd; max-width: 1100px; margin: 0 auto; }
.wm *, .wm *::before, .wm *::after { box-sizing: border-box; }
.wm a:not(.wm-btn):not(.wm-tab) { color: #ebcb72; }
.wm code { background: rgba(235, 203, 114, .12); border-radius: 6px; padding: 1px 6px; font-size: .85em; color: #f3ecdd; overflow-wrap: anywhere; }
.wm [hidden] { display: none !important; }
.wm-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.wm-heroi { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #ebcb72, #b8913a); color: #17120d; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.wm-hero h1 { margin: 0; font-size: 1.7rem; color: #ebcb72; font-weight: 800; line-height: 1.2; }
.wm-hero p { margin: 4px 0 0; color: #d9cfba; font-size: .96rem; line-height: 1.55; }
.wm-h2 { margin: 0 0 12px; font-size: 1.15rem; color: #ebcb72; font-weight: 800; display: flex; align-items: center; gap: 10px; line-height: 1.3; }
.wm-note { padding: 12px 14px; border-radius: 12px; background: rgba(235, 203, 114, .08); border: 1px solid rgba(235, 203, 114, .3); color: #d9cfba; font-size: .9rem; line-height: 1.55; margin: 12px 0; overflow-wrap: anywhere; }
.wm-note i { color: #ebcb72; margin-right: 4px; }
.wm-note-test { border-style: dashed; }
.wm-dim { color: #9a8f79; font-size: .88rem; line-height: 1.55; }
.wm-card { background: rgba(23, 18, 13, .92); border: 1px solid rgba(235, 203, 114, .4); border-radius: 16px; padding: 20px; margin: 16px 0; overflow-wrap: anywhere; }
.wm-card p { line-height: 1.6; color: #d9cfba; font-size: .93rem; }
.wm-gate { text-align: center; padding: 40px 20px; }
.wm-gate h1 { color: #ebcb72; font-size: 1.5rem; margin: 0 0 8px; }

.wm-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .wm-grid2 { grid-template-columns: minmax(0, 1fr); } }
.wm-f { margin: 0 0 14px; min-width: 0; }
.wm-f > label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: .82rem; font-weight: 700; color: #d9cfba; }
.wm-tag { font-style: normal; font-size: .65rem; font-weight: 900; color: #ebcb72; background: rgba(235, 203, 114, .1); padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(235, 203, 114, .3); white-space: nowrap; }
.wm-ig { position: relative; display: flex; align-items: center; background: rgba(5, 4, 3, .6); border: 1px solid rgba(235, 203, 114, .3); border-radius: 12px; min-height: 48px; min-width: 0; flex: 1; transition: border-color .2s, box-shadow .2s; }
.wm-ig:focus-within { border-color: #ebcb72; box-shadow: 0 0 0 3px rgba(235, 203, 114, .18); }
.wm-ig > i { flex: 0 0 auto; width: 40px; text-align: center; color: #ebcb72; font-size: .95rem; }
.wm-ig input, .wm-ig select { width: 100%; min-width: 0; min-height: 46px; background: transparent; border: 0; outline: none; color: #f3ecdd; font: inherit; font-size: 16px; padding: 0 12px; }
.wm-ig > i + input, .wm-ig > i + select { padding-left: 0; }
.wm-ig select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #ebcb72 50%), linear-gradient(135deg, #ebcb72 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; text-overflow: ellipsis; }
.wm-ig select option { background: #17120d; color: #f3ecdd; }
.wm-ig input[type=date] { color-scheme: dark; }
.wm-phone { display: flex; gap: 10px; flex-wrap: nowrap; }
.wm-ig-pre { flex: 0 0 132px; width: 132px; padding-left: 8px; }
.wm-ig-pre select { padding-left: 8px; }
.wm-flag { width: 20px; height: 15px; border-radius: 2px; flex: 0 0 auto; }
.wm-err { display: block; min-height: 0; color: #ff8a80; font-size: .8rem; margin-top: 4px; line-height: 1.4; }
.wm-err:empty { display: none; }
.wm-bad .wm-ig, .wm-bad.wm-chk { border-color: #ff5252; }
.wm-bad .wm-ig { box-shadow: 0 0 0 3px rgba(255, 82, 82, .14); }
.wm-alert { padding: 12px 14px; border-radius: 12px; background: rgba(255, 82, 82, .1); border: 1px solid rgba(255, 82, 82, .5); color: #ffb4ab; font-size: .9rem; line-height: 1.5; margin: 0 0 14px; }
/* Kreditart */
.wm-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
@media (max-width: 640px) { .wm-types { grid-template-columns: minmax(0, 1fr); } }
.wm-type { cursor: pointer; display: block; }
.wm-type input { position: absolute; opacity: 0; pointer-events: none; }
.wm-type-b { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid rgba(235, 203, 114, .3); background: rgba(5, 4, 3, .45); min-height: 96px; transition: .2s; }
.wm-type-b i { color: #ebcb72; font-size: 1.4rem; }
.wm-type-b b { font-size: 1rem; color: #f3ecdd; }
.wm-type-b small { color: #b9ad96; font-size: .82rem; line-height: 1.4; }
.wm-type input:checked + .wm-type-b { border-color: #ebcb72; box-shadow: 0 0 0 1px #ebcb72 inset; background: rgba(235, 203, 114, .1); }
.wm-type input:focus-visible + .wm-type-b { outline: 2px solid #ebcb72; outline-offset: 2px; }
/* Summe */
.wm-amount-big { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 6px 0 10px; }
.wm-amount-big input { width: 100%; max-width: 360px; text-align: center; background: transparent; border: 0; border-bottom: 2px solid rgba(235, 203, 114, .5); outline: none; color: #ebcb72; font: inherit; font-weight: 900; font-size: clamp(2rem, 8vw, 3.2rem); padding: 0 4px; min-width: 0; }
.wm-amount-big input:focus { border-bottom-color: #ebcb72; }
.wm-amount-big span { color: #ebcb72; font-weight: 900; font-size: clamp(1.6rem, 6vw, 2.4rem); }
.wm-amount input[type=range] { width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.wm-amount input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #ebcb72 var(--wm-p, 20%), rgba(235, 203, 114, .2) var(--wm-p, 20%)); }
.wm-amount input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(235, 203, 114, .2); }
.wm-amount input[type=range]::-moz-range-progress { height: 8px; border-radius: 8px; background: #ebcb72; }
.wm-amount input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: linear-gradient(135deg, #f6dc8e, #b8913a); border: 3px solid #17120d; box-shadow: 0 0 0 2px #ebcb72; }
.wm-amount input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #f6dc8e, #b8913a); border: 3px solid #17120d; box-shadow: 0 0 0 2px #ebcb72; }
.wm-range-l { display: flex; justify-content: space-between; color: #9a8f79; font-size: .8rem; }
/* Beispielrechnung */
.wm-calc { margin: 6px 0 4px; padding: 16px; border-radius: 14px; border: 1px solid rgba(235, 203, 114, .4); background: rgba(235, 203, 114, .06); }
.wm-calc h3 { margin: 0 0 10px; font-size: 1rem; color: #ebcb72; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.wm-calc dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
@media (max-width: 640px) { .wm-calc dl { grid-template-columns: minmax(0, 1fr); } }
.wm-calc dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(235, 203, 114, .16); min-width: 0; }
.wm-calc dt { color: #b9ad96; font-size: .85rem; }
.wm-calc dd { margin: 0; color: #f3ecdd; font-weight: 800; font-size: .92rem; text-align: right; overflow-wrap: anywhere; }
.wm-legal { color: #b9ad96; font-size: .8rem; line-height: 1.5; margin-top: 8px; }
.wm-sumup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; padding: 14px; border-radius: 14px; border: 1px solid rgba(235, 203, 114, .3); background: rgba(5, 4, 3, .4); margin: 0 0 14px; }
@media (max-width: 640px) { .wm-sumup { grid-template-columns: minmax(0, 1fr); } }
.wm-sumup div { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; min-width: 0; }
.wm-sumup span { color: #b9ad96; }
.wm-sumup b { color: #f3ecdd; text-align: right; overflow-wrap: anywhere; }
.wm-hint { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(235, 203, 114, .1); border: 1px solid #ebcb72; margin: 0 0 14px; }
.wm-hint > i { color: #ebcb72; font-size: 1.3rem; margin-top: 2px; }
.wm-hint b { color: #ebcb72; }
.wm-hint p { margin: 4px 0 0; color: #d9cfba; font-size: .9rem; line-height: 1.55; }
.wm-chk { display: flex; align-items: flex-start; gap: 12px; padding: 12px; margin: 0 0 8px; border: 1px solid rgba(235, 203, 114, .25); border-radius: 12px; cursor: pointer; font-size: .88rem; line-height: 1.5; color: #d9cfba; min-height: 48px; }
.wm-chk input { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; accent-color: #ebcb72; }
.wm-consent { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(5, 4, 3, .45); border: 1px solid rgba(235, 203, 114, .2); color: #b9ad96; font-size: .8rem; line-height: 1.6; }
.wm-consent a { color: #ebcb72; text-decoration: underline; }

/* ---- Knoepfe ---- */
.wm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wm-actions-end { justify-content: space-between; align-items: center; }
.wm-actions-c { justify-content: center; }
.wm-btn { appearance: none; cursor: pointer; font: inherit; font-weight: 800; font-size: .92rem; padding: 11px 18px; min-height: 46px; border-radius: 12px; border: 1px solid #ebcb72; background: transparent; color: #ebcb72 !important; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none !important; line-height: 1.2; text-align: center; transition: .2s; }
.wm-btn:hover, .wm-btn:focus-visible { background: rgba(235, 203, 114, .14); outline: none; }
.wm-btn-gold { background: linear-gradient(135deg, #f6dc8e, #ebcb72 45%, #b8913a); color: #17120d !important; border-color: transparent; }
.wm-btn-gold:hover, .wm-btn-gold:focus-visible { background: linear-gradient(135deg, #fff0b3, #f6dc8e 45%, #c9a04a); filter: none; }
.wm-btn-big { min-height: 52px; font-size: 1rem; padding: 12px 28px; }
.wm-btn-ghost { background: transparent; }
.wm-btn[disabled], .wm-btn.is-busy { opacity: .6; cursor: not-allowed; }
.wm-btn-sm { min-height: 38px; padding: 7px 12px; font-size: .82rem; border-radius: 10px; }
.wm-btn-red { border-color: #ff5252; color: #ff8a80 !important; }
.wm-btn-red:hover { background: rgba(255, 82, 82, .12); }
@media (max-width: 640px) { .wm-actions .wm-btn { flex: 1 1 100%; } .wm-actions-end { flex-direction: column-reverse; align-items: stretch; } }

/* ---- Fenster ---- */
.wm-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .72); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.wm-modal[hidden] { display: none !important; }
.wm-modal-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: #17120d; border: 1px solid #ebcb72; border-radius: 20px; padding: 28px 22px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); color: #f3ecdd; }
.wm-modal-wide { max-width: 680px; }
.wm-x { position: absolute; top: 12px; right: 12px; z-index: 2; }
.wm-done-i { text-align: center; font-size: 3rem; color: #ebcb72; }
.wm-modal h2 { margin: 6px 0 6px; font-size: 1.25rem; color: #ebcb72; text-align: center; line-height: 1.3; padding: 0 28px; }
.wm-done-no { text-align: center; color: #f3ecdd; font-weight: 800; margin: 4px 0; }
.wm-done-p { text-align: center; color: #d9cfba; line-height: 1.6; font-size: .93rem; }
.wm-hand-head { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.wm-hand-head h2 { text-align: left; padding: 0; margin: 0; font-size: 1.1rem; }
.wm-hand-logo { flex: 0 0 auto; width: 92px; height: 56px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; overflow: hidden; }
.wm-hand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wm-hand-logo b { color: #17120d; font-size: .8rem; text-align: center; line-height: 1.2; }
.wm-hand-body { margin: 16px 0 4px; font-size: .92rem; line-height: 1.6; color: #d9cfba; }
.wm-load { text-align: center; padding: 26px 8px; }
.wm-load-bar { height: 8px; border-radius: 8px; background: rgba(235, 203, 114, .2); overflow: hidden; margin: 14px auto 0; max-width: 360px; }
.wm-load-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #b8913a, #ebcb72); border-radius: 8px; }
.wm-hand-step { margin: 0 0 12px; }
.wm-hand-step h3 { margin: 0 0 8px; font-size: .95rem; color: #ebcb72; font-weight: 800; }
.wm-kv { display: grid; gap: 0; border: 1px solid rgba(235, 203, 114, .25); border-radius: 12px; overflow: hidden; }
.wm-kv > div { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 10px; padding: 9px 12px; border-bottom: 1px solid rgba(235, 203, 114, .14); font-size: .88rem; }
.wm-kv > div:last-child { border-bottom: 0; }
.wm-kv span { color: #b9ad96; }
.wm-kv b { color: #f3ecdd; overflow-wrap: anywhere; }
.wm-kv select, .wm-kv input[type=text] { width: 100%; min-height: 40px; background: rgba(5, 4, 3, .6); color: #f3ecdd; border: 1px solid rgba(235, 203, 114, .4); border-radius: 8px; font: inherit; font-size: 16px; padding: 0 8px; }
@media (max-width: 520px) { .wm-kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.wm-warn { padding: 12px 14px; border-radius: 12px; background: rgba(255, 171, 64, .1); border: 1px solid rgba(255, 171, 64, .6); color: #ffd180; font-size: .88rem; line-height: 1.55; margin: 0 0 12px; }
.wm-warn i { margin-right: 4px; }
.wm-hand-foot { justify-content: space-between; }
.wm-spin { display: inline-block; width: 34px; height: 34px; border-radius: 50%; border: 4px solid rgba(235, 203, 114, .25); border-top-color: #ebcb72; animation: wm-rot 1s linear infinite; }
@keyframes wm-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wm-spin { animation-duration: 3s; } .wm-step.active { animation: none !important; } }

/* ---- Admin ---- */
.wm-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 0 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.wm-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(235, 203, 114, .4); color: #d9cfba !important; text-decoration: none !important; font-weight: 700; font-size: .86rem; white-space: nowrap; background: rgba(23, 18, 13, .8); }
.wm-tab:hover { background: rgba(235, 203, 114, .12); }
.wm-tab.on { background: linear-gradient(135deg, #f6dc8e, #ebcb72 45%, #b8913a); color: #17120d !important; border-color: transparent; }
.wm-flash { padding: 12px 14px; border-radius: 12px; margin: 10px 0; font-size: .9rem; line-height: 1.5; }
.wm-flash-ok { background: rgba(0, 230, 118, .1); border: 1px solid rgba(0, 230, 118, .5); color: #9effc4; }
.wm-flash-bad { background: rgba(255, 82, 82, .1); border: 1px solid rgba(255, 82, 82, .5); color: #ffb4ab; }
.wm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 12px 0; }
.wm-stat { padding: 14px; border-radius: 14px; border: 1px solid rgba(235, 203, 114, .35); background: rgba(5, 4, 3, .4); }
.wm-stat small { display: block; color: #9a8f79; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.wm-stat b { display: block; color: #ebcb72; font-size: 1.5rem; font-weight: 900; margin-top: 4px; overflow-wrap: anywhere; }
.wm-tw { overflow-x: auto; margin: 10px 0; border: 1px solid rgba(235, 203, 114, .25); border-radius: 12px; }
.wm-tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.wm-tbl th { text-align: left; padding: 10px 12px; color: #ebcb72; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; background: rgba(235, 203, 114, .08); white-space: nowrap; }
.wm-tbl td { padding: 10px 12px; border-top: 1px solid rgba(235, 203, 114, .14); vertical-align: top; overflow-wrap: anywhere; }
.wm-tbl tr:hover td { background: rgba(235, 203, 114, .04); }
.wm-tbl .wm-red td:first-child { box-shadow: inset 3px 0 0 #ff5252; }
.wm-wait-red { color: #ff8a80; font-weight: 800; }
@media (max-width: 760px) {
  .wm-tbl thead { display: none; }
  .wm-tbl, .wm-tbl tbody, .wm-tbl tr, .wm-tbl td { display: block; width: 100%; }
  .wm-tbl tr { border-top: 1px solid rgba(235, 203, 114, .3); padding: 8px 0; }
  .wm-tbl td { border: 0; padding: 4px 12px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .wm-tbl td::before { content: attr(data-l); color: #9a8f79; font-size: .72rem; font-weight: 800; text-transform: uppercase; text-align: left; flex: 0 0 38%; }
}
.wm-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 980px) { .wm-two { grid-template-columns: minmax(0, 1fr); } }
.wm-a-f { margin: 0 0 12px; }
.wm-a-f > label { display: block; margin: 0 0 5px; font-size: .8rem; font-weight: 700; color: #d9cfba; }
.wm-a-f input[type=text], .wm-a-f input[type=url], .wm-a-f input[type=number], .wm-a-f input[type=email], .wm-a-f input[type=file], .wm-a-f select, .wm-a-f textarea { width: 100%; min-height: 44px; background: rgba(5, 4, 3, .6); color: #f3ecdd; border: 1px solid rgba(235, 203, 114, .35); border-radius: 10px; font: inherit; font-size: 16px; padding: 8px 12px; }
.wm-a-f textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.wm-a-f select option { background: #17120d; }
.wm-a-f small { display: block; color: #9a8f79; font-size: .78rem; margin-top: 4px; line-height: 1.45; }
.wm-a-chk { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; line-height: 1.5; color: #d9cfba; margin: 0 0 12px; cursor: pointer; min-height: 32px; }
.wm-a-chk input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: #ebcb72; margin-top: 2px; }
.wm-a-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.wm-contact { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.wm-box { margin: 12px 0; padding: 14px; border-radius: 14px; border: 1px solid rgba(235, 203, 114, .3); background: rgba(5, 4, 3, .4); }
.wm-box h3 { margin: 0 0 8px; font-size: .95rem; color: #ebcb72; font-weight: 800; }
.wm-log { max-height: 320px; overflow: auto; font-size: .82rem; line-height: 1.5; }
.wm-log div { padding: 5px 0; border-bottom: 1px solid rgba(235, 203, 114, .12); }
.wm-log small { color: #9a8f79; }
.wm-pre { white-space: pre-wrap; background: rgba(5, 4, 3, .7); border: 1px solid rgba(235, 203, 114, .25); border-radius: 10px; padding: 10px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; color: #d9cfba; }
.wm-mono { font-family: ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; word-break: break-all; }
.wm-doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
@media (max-width: 760px) { .wm-doc { grid-template-columns: minmax(0, 1fr); } }
.wm-map-t { width: 100%; border-collapse: collapse; font-size: .82rem; }
.wm-map-t td, .wm-map-t th { padding: 6px 6px; border-top: 1px solid rgba(235, 203, 114, .14); vertical-align: middle; text-align: left; }
.wm-map-t th { color: #ebcb72; font-size: .7rem; text-transform: uppercase; }
.wm-map-t select, .wm-map-t input[type=text] { width: 100%; min-height: 38px; background: rgba(5, 4, 3, .6); color: #f3ecdd; border: 1px solid rgba(235, 203, 114, .3); border-radius: 8px; font: inherit; font-size: 14px; padding: 0 6px; }
.wm-gone { opacity: .5; text-decoration: line-through; }

/* ---- Admin: Ergaenzungen (Reiter, Formulare, Zuordnung) ---- */
.wm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.wm-a-wide { grid-column: 1 / -1; }
.wm-aform { margin: 0; }
.wm-aform.wm-inl { display: inline-block; }
.wm-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 12px; }
@media (max-width: 760px) { .wm-modes { grid-template-columns: minmax(0, 1fr); } }
.wm-mode { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(235, 203, 114, .3); background: rgba(5, 4, 3, .4); cursor: pointer; min-height: 56px; }
.wm-mode.on { border-color: #ebcb72; background: rgba(235, 203, 114, .12); box-shadow: 0 0 0 1px rgba(235, 203, 114, .35); }
.wm-mode input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: #ebcb72; margin-top: 2px; }
.wm-mode b { display: block; color: #ebcb72; font-size: 1rem; }
.wm-mode small { display: block; color: #d9cfba; font-size: .8rem; line-height: 1.45; margin-top: 2px; }
.wm-stat-red b { color: #ff8a80; }
.wm-stat-red { border-color: rgba(255, 82, 82, .55); }
.wm-ck { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wm-ck li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(235, 203, 114, .2); background: rgba(5, 4, 3, .35); font-size: .9rem; line-height: 1.5; color: #d9cfba; }
.wm-ck i { flex: 0 0 auto; margin-top: 3px; }
.wm-ck-ok i { color: #00e676; }
.wm-ck-no i { color: #ffb300; }
.wm-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; align-items: end; margin: 6px 0 12px; }
@media (max-width: 900px) { .wm-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .wm-filter { grid-template-columns: minmax(0, 1fr); } .wm-filter .wm-btn { width: 100%; } }
.wm-wait { font-weight: 800; color: #ebcb72; }
.wm-wait-red { color: #ff8a80; }
.wm-tlogo { max-height: 30px; max-width: 80px; object-fit: contain; vertical-align: middle; background: #fff; border-radius: 6px; padding: 2px 4px; margin-right: 6px; }
.wm-logoprev { margin: 0 0 8px; padding: 8px; background: #fff; border-radius: 10px; display: inline-block; max-width: 100%; }
.wm-logoprev img { max-height: 60px; max-width: 100%; display: block; object-fit: contain; }
.wm-chkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.wm-consent-prev { padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(235, 203, 114, .4); background: rgba(5, 4, 3, .45); color: #d9cfba; font-size: .88rem; line-height: 1.6; overflow-wrap: anywhere; }
.wm-mapwrap { overflow-x: visible; }
.wm-map-t .wm-dimmed { opacity: .4; }
.wm-map-t tr.wm-row-skip td { opacity: .55; }
@media (max-width: 900px) {
  .wm-map-t thead { display: none; }
  .wm-map-t, .wm-map-t tbody, .wm-map-t tr, .wm-map-t td { display: block; width: 100%; }
  .wm-map-t tr { border-top: 1px solid rgba(235, 203, 114, .3); padding: 8px 0; }
  .wm-map-t td { border: 0; padding: 4px 4px; }
  .wm-map-t td::before { content: attr(data-l); display: block; color: #9a8f79; font-size: .7rem; font-weight: 800; text-transform: uppercase; margin-bottom: 2px; }
  .wm-map-t td[data-l=""]::before { display: none; }
}
.wm-box details summary { cursor: pointer; color: #ebcb72; font-size: .8rem; min-height: 32px; display: inline-flex; align-items: center; }
.wm-aform .wm-actions { margin-top: 8px; }

/* ===== NEU 20.10.2026 (N294/N295): Sperre "Kredit nur mit Paket" - Sperrkarte und gesperrte Formular-Vorschau ===== */
.wm-lock { display: flex; gap: 16px; align-items: flex-start; border-color: rgba(235, 203, 114, .6); background: linear-gradient(135deg, rgba(235, 203, 114, .1), rgba(23, 18, 13, .94) 60%); }
.wm-lock-i { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(235, 203, 114, .14); border: 1px solid rgba(235, 203, 114, .5); color: #ebcb72; font-size: 1.35rem; }
.wm-lock-b { min-width: 0; flex: 1 1 auto; }
.wm-lock-b h2 { margin: 0 0 6px; font-size: 1.25rem; color: #ebcb72; }
.wm-lock-b h3 { margin: 14px 0 8px; font-size: .95rem; color: #f3ecdd; }
.wm-lock-b p { margin: 0; color: #d9cfba; line-height: 1.6; font-size: .95rem; }
.wm-lock-pk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.wm-lock-pk li { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(235, 203, 114, .35); background: rgba(5, 4, 3, .45); min-width: 0; }
.wm-lock-pk li i { color: #2ecc71; flex: 0 0 auto; }
.wm-lock-pk li b { color: #f3ecdd; font-size: .92rem; min-width: 0; overflow-wrap: anywhere; }
.wm-lock-pk li span { margin-left: auto; color: #ebcb72; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.wm-lock-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wm-lock-act .wm-btn { width: auto; }
.wm-locked { position: relative; }
.wm-locked-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(235, 203, 114, .5); background: rgba(235, 203, 114, .1); color: #ebcb72; font-size: .8rem; font-weight: 700; margin-bottom: 10px; }
.wm-lockset { border: 0; margin: 0; padding: 0; min-width: 0; opacity: .6; filter: saturate(.75); }
.wm-lockset :disabled, .wm-lockset [disabled] { cursor: not-allowed; }
.wm-lockset .wm-btn:disabled { opacity: .55; }
@media (max-width: 600px) {
    .wm-lock { flex-direction: column; gap: 10px; }
    .wm-lock-pk { grid-template-columns: 1fr; }
    .wm-lock-act .wm-btn { width: 100%; }
}
/* NEU 20.10.2026 (Klasse „wm-modal-open“ - NICHT „wm-lock“: die heißt schon die Sperr-Karte und machte die Seite breiter): Solange ein Fenster des Kredit-Moduls offen ist, bleibt der Webinar-Hinweis (unten rechts) ausgeblendet - er kommt danach unverändert zurück (wie bei den Zahlungsdaten) */
html.wm-modal-open #kccWebPopup { display: none !important; }
/* NEU 20.10.2026 (Paket KR, Fortsetzung): ebenso die Chat-Blase und der runde Support-Knopf (unten links) - sie lagen auf dem Handy über dem Knopf „An Anbieter senden“. Nach dem Schließen des Fensters sind sie wieder da. */
html.wm-modal-open #mblSupportWidget { display: none !important; }
.wm-host { height: 0; overflow: visible; }
/* NEU 21.10.2026 (Paket KR): Das Status-Schild (zum Beispiel „Neu“, „Abgeschlossen“) in der Überschrift der Anfrage wurde auf dem Handy in zwei Zeilen zerrissen („Ne / u“). Jetzt bleibt es in einer Zeile, der Titel daneben bricht um. */
.wm-h2 .wm-st { white-space: nowrap; flex: 0 0 auto; }

/* =====================================================================
   WM-Teil: Werbemittel (Paket P6, 21.10.2026) - Mediathek, Werbevideothek, Falzflyer, Poster, Social Media, Admin
   ===================================================================== */
.wm { max-width: 1180px; }
.wm-intro { margin: 0 0 14px; }
.wm-flag { width: 20px; height: 15px; border-radius: 2px; flex: 0 0 auto; object-fit: cover; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.wm-flag0 { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 15px; font-size: .62rem; font-weight: 900; color: #ebcb72; flex: 0 0 auto; }
.wm-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; color: #ebcb72; background: rgba(235, 203, 114, .1); border: 1px solid rgba(235, 203, 114, .3); border-radius: 999px; padding: 3px 10px; line-height: 1.3; white-space: nowrap; }
.wm-tag-dim { color: #b9ad96; border-color: rgba(235, 203, 114, .18); background: transparent; }
.wm-tag-red { color: #ff8a80; border-color: rgba(255, 82, 82, .5); background: rgba(255, 82, 82, .08); }
.wm-tag-ok { color: #9effc4; border-color: rgba(0, 230, 118, .45); background: rgba(0, 230, 118, .08); }

/* ---- Filterleiste ---- */
.wm-bar { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end; margin: 14px 0; padding: 14px; border-radius: 16px; border: 1px solid rgba(235, 203, 114, .35); background: rgba(23, 18, 13, .92); }
.wm-bar .wm-bf { flex: 1 1 200px; min-width: 0; }
.wm-bar .wm-bf-s { flex: 2 1 260px; }
.wm-bar label { display: block; margin: 0 0 5px; font-size: .78rem; font-weight: 700; color: #d9cfba; }
.wm-bar input[type=search], .wm-bar input[type=text] { width: 100%; min-height: 46px; background: rgba(5, 4, 3, .6); color: #f3ecdd; border: 1px solid rgba(235, 203, 114, .35); border-radius: 12px; font: inherit; font-size: 16px; padding: 0 14px; }
.wm-bar input:focus { border-color: #ebcb72; outline: none; box-shadow: 0 0 0 3px rgba(235, 203, 114, .18); }
.wm-bar .wm-btn { flex: 0 0 auto; }
.wm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.wm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 1px solid rgba(235, 203, 114, .4); color: #d9cfba !important; font-size: .82rem; font-weight: 700; text-decoration: none !important; }
.wm-chip small { color: #9a8f79; font-weight: 700; }
.wm-chip:hover { background: rgba(235, 203, 114, .12); }
.wm-chip.on { background: linear-gradient(135deg, #f6dc8e, #ebcb72 45%, #b8913a); color: #17120d !important; border-color: transparent; }
.wm-chip.on small { color: #3d2f10; }
.wm-count { color: #9a8f79; font-size: .85rem; margin: 6px 2px 12px; }

/* ---- Auswahlfeld mit Flaggen ---- */
.wm-fd { position: relative; min-width: 0; }
.wm-fd-b { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(5, 4, 3, .6); color: #f3ecdd; border: 1px solid rgba(235, 203, 114, .35); border-radius: 12px; font: inherit; font-size: 16px; padding: 0 12px; cursor: pointer; text-align: left; }
.wm-fd-b:hover, .wm-fd-b:focus-visible, .wm-fd.open .wm-fd-b { border-color: #ebcb72; outline: none; box-shadow: 0 0 0 3px rgba(235, 203, 114, .18); }
.wm-fd-cur { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wm-fd-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-fd-c { color: #ebcb72; font-size: .75rem; transition: transform .2s; flex: 0 0 auto; }
.wm-fd.open .wm-fd-c { transform: rotate(180deg); }
.wm-fd-l { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); min-width: 220px; background: #17120d; border: 1px solid #ebcb72; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); padding: 8px; }
.wm-fd-l[hidden] { display: none !important; }
.wm-fd-s { width: 100%; min-height: 42px; background: rgba(5, 4, 3, .8); color: #f3ecdd; border: 1px solid rgba(235, 203, 114, .3); border-radius: 8px; font: inherit; font-size: 16px; padding: 0 10px; margin: 0 0 6px; }
.wm-fd-s:focus { outline: none; border-color: #ebcb72; }
.wm-fd-l ul { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.wm-fd-l li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; min-height: 40px; border-radius: 8px; color: #f3ecdd; cursor: pointer; font-size: .92rem; }
.wm-fd-l li:hover, .wm-fd-l li:focus, .wm-fd-l li.hl { background: rgba(235, 203, 114, .16); outline: none; }
.wm-fd-l li[aria-selected=true] { color: #ebcb72; font-weight: 800; }
.wm-fd-l li[hidden] { display: none; }
.wm-fd-none { padding: 10px; color: #9a8f79; font-size: .85rem; }
@media (max-width: 640px) { .wm-fd-l { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; max-height: 70vh; } .wm-fd-l ul { max-height: 52vh; } }

/* ---- Karten-Raster ---- */
.wm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 6px 0 18px; }
.wm-grid-t { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
@media (max-width: 520px) { .wm-grid, .wm-grid-t { grid-template-columns: minmax(0, 1fr); } }
.wm-it { display: flex; flex-direction: column; min-width: 0; background: rgba(23, 18, 13, .92); border: 1px solid rgba(235, 203, 114, .35); border-radius: 16px; overflow: hidden; transition: border-color .2s, transform .2s; }
.wm-it:hover { border-color: #ebcb72; }
.wm-it.is-off { opacity: .55; }
.wm-it-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: #0c0906; border: 0; padding: 0; cursor: pointer; overflow: hidden; }
.wm-it-img img.wm-th { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-it-img.tall { aspect-ratio: 3 / 4; }
.wm-it-img.wide { aspect-ratio: 16 / 10; }
.wm-it-img.contain img.wm-th { object-fit: contain; }
.wm-it-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55)); }
.wm-it-play i { width: 56px; height: 56px; border-radius: 50%; background: rgba(23, 18, 13, .82); border: 2px solid #ebcb72; color: #ebcb72; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; padding-left: 3px; }
.wm-it-lang { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(12, 9, 6, .85); border: 1px solid rgba(235, 203, 114, .45); color: #f3ecdd; font-size: .72rem; font-weight: 800; }
.wm-it-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 8px; background: rgba(12, 9, 6, .85); color: #f3ecdd; font-size: .74rem; font-weight: 800; }
.wm-it-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 0; }
.wm-it-t { margin: 0; font-weight: 800; font-size: .95rem; line-height: 1.35; color: #f3ecdd; overflow-wrap: anywhere; }
.wm-it-d { margin: 0; color: #b9ad96; font-size: .84rem; line-height: 1.5; overflow-wrap: anywhere; }
.wm-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: #9a8f79; font-size: .76rem; }
.wm-it-a { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.wm-it-a .wm-btn { flex: 1 1 auto; }
.wm-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 20px; }
.wm-pager a, .wm-pager span { min-width: 42px; min-height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(235, 203, 114, .4); color: #d9cfba !important; text-decoration: none !important; font-weight: 700; font-size: .88rem; }
.wm-pager a:hover { background: rgba(235, 203, 114, .12); }
.wm-pager .on { background: linear-gradient(135deg, #f6dc8e, #ebcb72 45%, #b8913a); color: #17120d !important; border-color: transparent; }
.wm-pager .gap { border: 0; min-width: 20px; padding: 0; color: #9a8f79 !important; }
.wm-empty { text-align: center; padding: 40px 16px; color: #b9ad96; }
.wm-empty i { font-size: 2.2rem; color: #ebcb72; display: block; margin-bottom: 10px; }

/* ---- Sperr- und Hinweiskarten ---- */
.wm-lock { display: block; text-align: center; padding: 30px 18px; }   /* NEU 21.10.2026 (Tablet-Pruefung): display:block - die Sperrkarte steht mittig untereinander (Symbol, Titel, Text, Knoepfe); vorher zog eine uebernommene Regel weiter oben sie als schmale Spalten nebeneinander, am Tablet wurden die Knoepfe dadurch zu schmal */
.wm-lock i.big { font-size: 2.4rem; color: #ebcb72; display: block; margin-bottom: 10px; }
.wm-lock h2 { margin: 0 0 8px; color: #ebcb72; font-size: 1.25rem; }
.wm-lock p { margin: 0 auto 14px; max-width: 560px; }
.wm-lock .wm-actions { justify-content: center; }
.wm-inline-lock { color: #9a8f79; font-size: .8rem; display: flex; align-items: center; gap: 6px; }

/* ---- Meine Daten (Flyer / Poster / Social) ---- */
.wm-me { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 920px) { .wm-me { grid-template-columns: minmax(0, 1fr); } }
.wm-pf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 640px) { .wm-pf { grid-template-columns: minmax(0, 1fr); } }
.wm-pf .wm-f { margin: 0 0 12px; min-width: 0; }
.wm-pf .wm-f-w { grid-column: 1 / -1; }
.wm-pf label.wm-fl { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 5px; font-size: .8rem; font-weight: 700; color: #d9cfba; }
.wm-pf .wm-show { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: #9a8f79; cursor: pointer; white-space: nowrap; }
.wm-pf .wm-show input { width: 18px; height: 18px; accent-color: #ebcb72; margin: 0; }
.wm-pf input[type=text], .wm-pf input[type=email] { width: 100%; min-height: 46px; background: rgba(5, 4, 3, .6); color: #f3ecdd; border: 1px solid rgba(235, 203, 114, .35); border-radius: 12px; font: inherit; font-size: 16px; padding: 0 12px; }
.wm-pf input:focus { border-color: #ebcb72; outline: none; box-shadow: 0 0 0 3px rgba(235, 203, 114, .18); }
.wm-pf small { display: block; color: #9a8f79; font-size: .74rem; margin-top: 3px; line-height: 1.4; }
.wm-qrbox { text-align: center; }
.wm-qrbox .wm-qrimg { display: block; margin: 0 auto 10px; width: 100%; max-width: 220px; aspect-ratio: 1; background: #fff; border-radius: 12px; padding: 8px; box-sizing: border-box; }
.wm-qrbox .wm-qrimg img { width: 100%; height: 100%; display: block; }
.wm-link { display: block; padding: 10px 12px; border-radius: 10px; background: rgba(5, 4, 3, .6); border: 1px solid rgba(235, 203, 114, .3); color: #f3ecdd; font-size: .8rem; overflow-wrap: anywhere; word-break: break-all; margin: 6px 0 10px; text-align: left; }
.wm-saved { color: #9effc4; font-size: .85rem; margin-left: 8px; }

/* ---- Fenster (Vorschau, Download, Video) ---- */
.wm-modal-box { max-width: 1040px; }
.wm-modal-box.sm { max-width: 520px; }
.wm-modal-box h2 { text-align: left; padding: 0 36px 0 0; }
.wm-dlg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 12px; }
@media (max-width: 820px) { .wm-dlg { grid-template-columns: minmax(0, 1fr); } }
.wm-pv { position: relative; background: #0c0906; border: 1px solid rgba(235, 203, 114, .3); border-radius: 12px; overflow: hidden; min-height: 160px; display: flex; align-items: center; justify-content: center; }
.wm-pv img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.wm-pv .wm-pv-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(12, 9, 6, .6); }
.wm-pv .wm-pv-load[hidden] { display: none; }
.wm-side { display: grid; gap: 8px; margin: 8px 0 14px; }
.wm-side label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(235, 203, 114, .3); cursor: pointer; font-size: .86rem; line-height: 1.45; color: #d9cfba; }
.wm-side label:hover { background: rgba(235, 203, 114, .06); }
.wm-side input { width: 18px; height: 18px; accent-color: #ebcb72; margin-top: 2px; flex: 0 0 18px; }
.wm-side label.on { border-color: #ebcb72; background: rgba(235, 203, 114, .1); color: #f3ecdd; }
.wm-side b { color: #ebcb72; }
.wm-var { display: grid; gap: 10px; }
.wm-vopt { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid rgba(235, 203, 114, .35); background: rgba(5, 4, 3, .4); }
.wm-vopt > i { width: 44px; height: 44px; border-radius: 12px; background: rgba(235, 203, 114, .12); color: #ebcb72; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.wm-vopt b { display: block; color: #f3ecdd; font-size: .92rem; }
.wm-vopt span { display: block; color: #b9ad96; font-size: .8rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 520px) { .wm-vopt { grid-template-columns: 40px minmax(0, 1fr); } .wm-vopt .wm-btn { grid-column: 1 / -1; } }
.wm-busy { display: none; align-items: center; gap: 10px; margin: 10px 0 0; color: #ebcb72; font-size: .86rem; }
.wm-busy.on { display: flex; }
.wm-vid { width: 100%; max-height: 74vh; background: #000; border-radius: 12px; display: block; }
.wm-lbimg { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 10px; }
.wm-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100010; background: #17120d; color: #f3ecdd; border: 1px solid #ebcb72; border-radius: 12px; padding: 12px 18px; font-size: .9rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); max-width: calc(100vw - 32px); }
.wm-toast[hidden] { display: none; }
html.wm-modal-open #kccWebPopup, html.wm-modal-open #mblSupportWidget { display: none !important; }
html.wm-modal-open body { overflow: hidden; }

/* ---- Social Media ---- */
.wm-ch { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.wm-ch a, .wm-ch button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(235, 203, 114, .4); background: transparent; color: #d9cfba !important; font: inherit; font-weight: 700; font-size: .86rem; text-decoration: none !important; cursor: pointer; white-space: nowrap; }
.wm-ch .on { background: linear-gradient(135deg, #f6dc8e, #ebcb72 45%, #b8913a); color: #17120d !important; border-color: transparent; }
.wm-post { background: rgba(23, 18, 13, .92); border: 1px solid rgba(235, 203, 114, .35); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wm-post h3 { margin: 0; font-size: 1rem; color: #ebcb72; line-height: 1.35; overflow-wrap: anywhere; }
.wm-post-t { white-space: pre-wrap; background: rgba(5, 4, 3, .6); border: 1px solid rgba(235, 203, 114, .22); border-radius: 12px; padding: 12px 14px; font-size: .9rem; line-height: 1.6; color: #f3ecdd; overflow-wrap: anywhere; max-height: 340px; overflow: auto; }
.wm-post-h { color: #ebcb72; font-size: .84rem; overflow-wrap: anywhere; }
.wm-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .wm-posts { grid-template-columns: minmax(0, 1fr); } }
.wm-post .wm-it-a { margin-top: 2px; }
.wm-gen textarea { width: 100%; min-height: 90px; background: rgba(5, 4, 3, .6); color: #f3ecdd; border: 1px solid rgba(235, 203, 114, .35); border-radius: 12px; font: inherit; font-size: 16px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.wm-gen textarea:focus { border-color: #ebcb72; outline: none; }
.wm-gen-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 14px; margin-bottom: 12px; }

/* ---- Admin ---- */
.wm-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .82rem; font-weight: 700; color: #d9cfba; user-select: none; }
.wm-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.wm-switch i { position: relative; width: 42px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(235, 203, 114, .35); transition: .2s; flex: 0 0 auto; }
.wm-switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #d9cfba; transition: .2s; }
.wm-switch input:checked + i { background: rgba(235, 203, 114, .35); border-color: #ebcb72; }
.wm-switch input:checked + i::after { left: 20px; background: #ebcb72; }
.wm-switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(235, 203, 114, .3); }
.wm-arows { display: grid; gap: 10px; margin: 10px 0; }
.wm-arow { display: grid; grid-template-columns: 30px 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(235, 203, 114, .28); background: rgba(5, 4, 3, .4); }
.wm-arow.is-off { opacity: .55; }
.wm-arow.drag-over { border-color: #ebcb72; box-shadow: 0 0 0 2px rgba(235, 203, 114, .3); }
.wm-arow.dragging { opacity: .4; }
.wm-drag { cursor: grab; color: #9a8f79; text-align: center; font-size: 1.1rem; user-select: none; touch-action: none; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.wm-athumb { width: 72px; height: 54px; border-radius: 8px; overflow: hidden; background: #0c0906; border: 1px solid rgba(235, 203, 114, .2); }
.wm-athumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-atitle { min-width: 0; }
.wm-atitle b { display: block; color: #f3ecdd; font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
.wm-atitle small { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; color: #9a8f79; font-size: .74rem; margin-top: 3px; }
.wm-aact { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
@media (max-width: 760px) { .wm-arow { grid-template-columns: 26px 60px minmax(0, 1fr); } .wm-aact { grid-column: 1 / -1; justify-content: flex-start; } .wm-athumb { width: 60px; height: 46px; } }
.wm-drop { border: 2px dashed rgba(235, 203, 114, .5); border-radius: 16px; padding: 26px 16px; text-align: center; color: #d9cfba; background: rgba(235, 203, 114, .04); transition: .2s; }
.wm-drop.over { background: rgba(235, 203, 114, .14); border-color: #ebcb72; }
.wm-drop i { font-size: 2rem; color: #ebcb72; display: block; margin-bottom: 8px; }
.wm-drop input[type=file] { display: none; }
.wm-prog { height: 10px; border-radius: 8px; background: rgba(235, 203, 114, .18); overflow: hidden; margin: 8px 0; }
.wm-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #b8913a, #ebcb72); border-radius: 8px; transition: width .3s; }
.wm-ulist { display: grid; gap: 6px; margin: 10px 0; font-size: .84rem; }
.wm-ulist > div { padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(235, 203, 114, .2); background: rgba(5, 4, 3, .4); overflow-wrap: anywhere; }
.wm-ulist .ok { border-color: rgba(0, 230, 118, .4); }
.wm-ulist .bad { border-color: rgba(255, 82, 82, .5); color: #ffb4ab; }
.wm-inv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 8px 0; }
.wm-inv > div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(235, 203, 114, .2); font-size: .8rem; color: #d9cfba; min-width: 0; }
.wm-inv .t { margin-left: auto; display: flex; gap: 3px; }
.wm-inv .t i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 82, 82, .7); }
.wm-inv .t i.y { background: #00e676; }
.wm-note-big { padding: 14px 16px; border-radius: 14px; background: rgba(235, 203, 114, .08); border: 1px solid rgba(235, 203, 114, .35); margin: 12px 0; line-height: 1.6; font-size: .9rem; color: #d9cfba; }
.wm-note-big b { color: #f3ecdd; }
.wm-edit-form { display: grid; gap: 0; }
.wm-vis { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 10px; }
/* Admin-Ergänzungen (P6) */
.wm-ck { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; margin: 0 0 8px; border: 1px solid rgba(235, 203, 114, .25); border-radius: 12px; font-size: .88rem; line-height: 1.5; color: #d9cfba; }
.wm-ck > i { flex: 0 0 20px; margin-top: 3px; font-size: 1.05rem; }
.wm-ck b { color: #f3ecdd; font-weight: 700; }
.wm-drop-s { padding: 12px 14px; margin-top: 8px; border-radius: 12px; }
.wm-drop-s i { display: none; }
.wm-drop { cursor: pointer; }
.wm-langgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 10px; }
.wm-lg { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; border: 1px solid rgba(235, 203, 114, .2); font-size: .84rem; color: #d9cfba; cursor: pointer; min-height: 40px; }
.wm-lg input { width: 20px; height: 20px; accent-color: #ebcb72; flex: 0 0 20px; }
.wm-lg img { width: 20px; height: auto; border-radius: 2px; }
.wm-flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; margin: 0 0 14px; font-size: .92rem; line-height: 1.5; }
.wm-flash-ok { background: rgba(0, 230, 118, .1); border: 1px solid rgba(0, 230, 118, .45); color: #b9f6ca; }
.wm-flash-bad { background: rgba(255, 82, 82, .1); border: 1px solid rgba(255, 82, 82, .5); color: #ffb4ab; }
.wm-flash i { margin-top: 3px; }
@media (max-width: 760px) {
  .wm-modes { grid-template-columns: 1fr; }
  .wm-arow { grid-template-columns: 30px minmax(0, 1fr); }
  .wm-arow .wm-athumb { display: none; }
  .wm-arow .wm-aact { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---- Social: Zusatzangaben aus dem Plan (P6) ---- */
.wm .wm-planinfo{margin-top:8px;font-size:.78rem;color:#b9ad96}
.wm .wm-planinfo summary{cursor:pointer;color:#ebcb72;font-weight:600;list-style:none;padding:4px 0}
.wm .wm-planinfo summary::-webkit-details-marker{display:none}
.wm .wm-planinfo summary::before{content:"\25B8  "}
.wm .wm-planinfo[open] summary::before{content:"\25BE  "}
.wm .wm-planinfo>div{padding:8px 10px;border:1px solid rgba(235,203,114,.28);border-radius:8px;line-height:1.55;overflow-wrap:anywhere}
.wm .wm-planinfo b{color:inherit;opacity:.95}

/* ---- Hashtags + Text kopieren (P6) ---- */
.wm-it-h { margin: 6px 0 0; color: #ebcb72; font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; opacity: .92; }
.wm-it-cp { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Texte & Hashtags in 17 Sprachen (P6, N319/N320) ---- */
.wm-modal-box.wm-tx-box { max-width: 640px; }
.wm-tx-lang { margin: 0 0 12px; display: grid; gap: 6px; }
.wm-tx-lang label { font-size: .85rem; }
.wm-tx-f { margin: 0 0 12px; padding: 12px 14px; border: 1px solid rgba(235, 203, 114, .28); border-radius: 12px; background: rgba(5, 4, 3, .45); }
.wm-tx-f[hidden] { display: none; }
.wm-tx-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.wm-tx-h b { color: #ebcb72; font-size: .92rem; }
.wm-tx-v { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; -webkit-user-select: text; user-select: text; font-size: .95rem; line-height: 1.55; color: #f3ecdd; }
.wm-tx-f small { display: block; margin-top: 6px; }
.wm-modal.is-load .wm-tx-v { opacity: .45; }
@media (max-width: 480px) { .wm-tx-h { flex-wrap: wrap; } .wm-tx-f { padding: 10px 12px; } }

/* ---- Admin: Text-Editor (Sprachen-Auswahl) ---- */
.wm-txa-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.wm-txa-c { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; min-height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(5, 4, 3, .5); color: #9a8f79; font: inherit; font-size: .78rem; cursor: pointer; }
.wm-txa-c .wm-flag { vertical-align: middle; }
.wm-txa-c.ok { border-color: rgba(120, 200, 120, .6); color: #d9f0d0; }
.wm-txa-c.wait { border-color: #ebcb72; color: #ebcb72; }
.wm-txa-c.on { box-shadow: 0 0 0 2px rgba(235, 203, 114, .55); }
.wm-txa-c:hover, .wm-txa-c:focus-visible { border-color: #ebcb72; outline: none; }

/* NEU 21.10.2026 (Pruefung PC/Tablet): Die 9 Reiter der Admin-Seite brechen ab 700 Pixel Breite in eine zweite Zeile um, damit „Import & Dateien“ und „Einstellungen“ ohne seitliches Wischen sichtbar sind. Am Handy bleibt es eine Wisch-Leiste. */
@media (min-width: 700px) { .wm-tabs { flex-wrap: wrap; overflow-x: visible; } }

/* NEU 21.10.2026 (Pruefung Handy): Die Kanal-Knoepfe (WhatsApp, Telegram, Facebook, Instagram, LinkedIn) und die Reiter im Vorschau-Fenster brechen in eine zweite Zeile um, damit am Handy kein Knopf am Rand abgeschnitten ist. */
.wm-ch { flex-wrap: wrap; overflow-x: visible; }

/* NEU 21.10.2026 (Pruefung PC, Foto der Einstellungen): (1) Schalter innerhalb eines Formularfelds (.wm-a-f) wurden durch die Regel ".wm-a-f > label" zu Block-Elementen und fielen als kleine Punkte ueber den Text; hier wieder als Schalter mit Schiene. (2) Sprachfelder in „3. Was liegt auf dem Server?“ waren zu schmal, die Namen brachen mitten im Wort um. */
.wm-a-f > label.wm-switch { display: inline-flex; margin: 0; font-size: .82rem; line-height: 1.4; }
.wm-a-f > label.wm-switch span { min-width: 0; }
.wm-inv { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.wm-inv > div > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
