/* =========================================================
   Musik aktiv – Komponenten-Stylesheet
   Aus dem Plugin «Musik aktiv Site» 1.0.6 (assets/css/frontend.css).
   Alle Farben, Radien, Abstände und Schatten kommen als
   CSS-Variablen aus tokens.json (tokens.css); hier stehen nur Regeln.
   Gestaltung abgeleitet aus den Covern: helle Verläufe,
   Akko, schwarze Schriftbalken, Notenköpfe in Orange.
   ========================================================= */

/* ---------- Grundlagen ---------- */
html.ma-html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ma-site { margin: 0; background: var(--ma-paper); color: var(--ma-ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.ma, .ma *, .ma *::before, .ma *::after { box-sizing: border-box; }
.ma { min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font-sans); color: var(--ma-ink); }
.ma h1, .ma h2, .ma h3, .ma p, .ma ul, .ma ol, .ma figure, .ma address { margin: 0; }
.ma ul, .ma ol { padding: 0; list-style: none; }
.ma address { font-style: normal; }
.ma img { max-width: 100%; height: auto; display: block; }
.ma a { color: var(--ma-link); text-decoration: none; }
.ma a:hover { color: var(--ma-ink); }
.ma button { font: inherit; color: inherit; }
.ma :focus-visible { outline: 3px solid var(--ma-orange); outline-offset: 2px; border-radius: var(--ma-radius-xs); }
.ma-ico { display: inline-block; flex: none; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ma-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ma-ink); color: var(--ma-on-ink) !important; padding: 10px 16px; border-radius: var(--ma-radius-sm); transition: top .2s; }
.ma-skip:focus { top: 12px; }
.ma-main { flex: 1 0 auto; outline: none; }
.ma-wrap { width: 100%; max-width: calc(var(--ma-wrap) + 2 * var(--ma-gutter)); margin: 0 auto; padding-left: var(--ma-gutter); padding-right: var(--ma-gutter); }
.ma-spacer { height: var(--ma-spacer); }

/* ---------- Logo: weisse Schrift auf schwarzen Balken ---------- */
.ma-logo { display: inline-flex; flex-direction: column; align-items: flex-start; font-weight: 400; line-height: .9; letter-spacing: .012em; white-space: nowrap; margin: 0; }
.ma-logo > span { display: block; background: var(--ma-black); color: var(--ma-white); padding: .04em .06em .09em .13em; }
.ma-logo > span + span { margin-top: .055em; margin-left: .9em; padding-right: .03em; }

/* ---------- Typografie ---------- */
.ma-h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; font-weight: 300; letter-spacing: -.03em; }
.ma-h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 300; letter-spacing: -.025em; }
.ma-h3-light { font-size: clamp(28px, 3vw, 38px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
.ma-text { font-size: 18px; line-height: 1.65; color: var(--ma-muted); max-width: 560px; }
.ma-lead { font-size: 19px; line-height: 1.6; color: var(--ma-muted); max-width: 520px; }
.ma-small { font-size: 13px; color: var(--ma-soft); }
.ma-small-muted { font-size: 14px; color: var(--ma-soft); }
.ma-center { text-align: center; }
.ma-on-dark { color: rgba(255, 255, 255, .9) !important; }
.ma-more { font-weight: 600; font-size: 16px; color: var(--ma-link); }
.ma-price { font-size: 21px; font-weight: 600; }
.ma-price-lg { font-size: 26px; font-weight: 600; }

.ma-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ma-muted); line-height: 1.3; }
.ma-eyebrow::before { content: ""; width: 12px; height: 9px; border-radius: 50%; background: var(--ma-orange); transform: rotate(-20deg); flex: none; }
.ma-eyebrow-light { color: rgba(255, 255, 255, .88); }

.ma-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 17px; }
.ma-tag { display: inline-block; background: var(--ma-ink); color: var(--ma-on-ink); padding: 5px 11px 4px; font-weight: 500; line-height: 1.25; border-radius: var(--ma-radius-bar); }
.ma-tag-xs { font-size: 13px; padding: 3px 9px; align-self: flex-start; }

/* ---------- Knöpfe ---------- */
.ma-btns { display: flex; gap: var(--ma-gap-sm); flex-wrap: wrap; align-items: center; }
.ma-btns-center { gap: 24px; }
.ma-center-row { justify-content: center; }
.ma-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: var(--ma-radius-sm); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.ma-btn:hover { transform: translateY(-1px); box-shadow: var(--ma-shadow-btn); }
.ma-btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.ma .ma-btn-dark { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma .ma-btn-dark:hover { color: var(--ma-on-ink); background: var(--ma-ink-hover); }
.ma .ma-btn-orange { background: var(--ma-orange); color: var(--ma-on-bright); }
.ma .ma-btn-orange:hover { color: var(--ma-on-bright); }
.ma .ma-btn-white { background: var(--ma-white); color: var(--ma-on-bright); }
.ma .ma-btn-outline { background: transparent; color: var(--ma-ink); box-shadow: inset 0 0 0 1.5px var(--ma-ink); }
.ma .ma-btn-outline:hover { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma .ma-textlink { color: var(--ma-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--ma-orange); transition: text-decoration-color .15s; }
.ma .ma-textlink:hover { text-decoration-color: var(--ma-ink); }
.ma-link-btn { background: none; border: 0; padding: 8px 6px; cursor: pointer; color: var(--ma-muted); font-size: 15px; min-height: 44px; }
.ma-link-btn:hover { color: var(--ma-ink); }

.ma-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--ma-radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1.5px solid transparent; background: transparent; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.ma .ma-chip-dark { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma .ma-chip-dark:hover { color: var(--ma-on-ink); background: var(--ma-ink-hover); }
.ma .ma-chip-outline { border-color: var(--ma-ink); color: var(--ma-ink); background: var(--ma-card); }
.ma .ma-chip-outline:hover { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma-chip-sel { border-color: var(--ma-border-chip); background: var(--ma-card); color: var(--ma-ink); }
.ma-chip-sel:hover { border-color: var(--ma-ink); }
.ma-chip-sel.is-on, .ma-chip-sel[aria-pressed="true"] { background: var(--ma-ink); border-color: var(--ma-ink); color: var(--ma-on-ink); }
.ma-chip-xs { min-height: 34px; padding: 0 12px; font-size: 13px; }

.ma-seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--ma-well); border-radius: var(--ma-radius-8); flex-wrap: wrap; }
.ma-seg button { border: 0; background: transparent; min-height: 40px; padding: 0 16px; border-radius: var(--ma-radius-sm); font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ma-ink); }
.ma-seg button.is-on, .ma-seg button[aria-pressed="true"], .ma-seg button[aria-selected="true"] { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma-tablist { background: var(--ma-card); box-shadow: var(--ma-shadow); align-self: flex-start; }

/* ---------- Karten und Raster ---------- */
.ma-card { background: var(--ma-card); border-radius: var(--ma-radius); box-shadow: var(--ma-shadow); }
.ma-lift { transition: transform .25s ease, box-shadow .25s ease; }
.ma-lift:hover { transform: translateY(-4px); box-shadow: var(--ma-shadow-lg); }
.ma-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ma-gap); }
.ma-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ma-gap); }
.ma-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ma-split); align-items: center; }
.ma-split-top { align-items: start; }
.ma-stack { display: flex; flex-direction: column; gap: var(--ma-stack); align-items: flex-start; }
.ma-stack-lg { display: flex; flex-direction: column; gap: var(--ma-stack-lg); }
.ma-sec { padding-top: var(--ma-sec); }
.ma-sec-sm { padding-top: var(--ma-sec-sm); }
.ma-sec-top { padding-top: var(--ma-sec-top); }
.ma-sec-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 780px; }
.ma-sec-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; max-width: none; flex-wrap: wrap; gap: 16px; }

/* ---------- Header ---------- */
.ma-header { position: sticky; top: 0; z-index: 40; background: var(--ma-header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ma-line); }
body.admin-bar .ma-header { top: 32px; }
.ma-header-row { display: flex; align-items: center; gap: 24px; min-height: var(--ma-header-h); }
.ma .ma-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ma-ink); flex: none; padding: 6px 0; }
.ma-brand-sub { font-size: 12px; line-height: 1.3; color: var(--ma-soft); }
.ma-logo-img img { display: block; }
.ma-nav { flex: 1 1 auto; display: flex; justify-content: center; gap: 2px; min-width: 0; }
.ma .ma-nav-link { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: var(--ma-radius-xs); color: var(--ma-ink); font-weight: 500; font-size: 16px; white-space: nowrap; transition: background-color .15s; }
.ma .ma-nav-link:hover { background: var(--ma-hover); color: var(--ma-ink); }
.ma .ma-nav-link[aria-current="page"] { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma-header-cta { min-height: 44px; flex: none; }
.ma-menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--ma-radius-sm); background: var(--ma-card); box-shadow: inset 0 0 0 1.5px var(--ma-ink); color: var(--ma-ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.ma-menu-close { display: none; }
.ma-menu-btn[aria-expanded="true"] .ma-menu-open { display: none; }
.ma-menu-btn[aria-expanded="true"] .ma-menu-close { display: inline-flex; }
.ma-menu-open, .ma-menu-close { display: inline-flex; }
.ma-menu-btn[aria-expanded="false"] .ma-menu-close { display: none; }
.ma-mobile-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px var(--ma-gutter) 20px; border-top: 1px solid var(--ma-line); background: var(--ma-card); max-height: calc(100vh - var(--ma-header-h)); overflow-y: auto; }
.ma-mobile-nav[hidden] { display: none; }
.ma .ma-mnav-link { display: flex; align-items: center; min-height: 54px; padding: 0 14px; border-radius: var(--ma-radius-sm); font-size: 19px; color: var(--ma-ink); }
.ma .ma-mnav-link[aria-current="page"] { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma-mnav-cta { margin-top: 12px; }

/* ---------- Hero ---------- */
.ma-hero { position: relative; overflow: hidden; background: linear-gradient(168deg, var(--ma-h1-from) 0%, var(--ma-hero-mid) 46%, var(--ma-h1-to) 100%); }
.ma-waves { position: absolute; inset: 0; pointer-events: none; }
.ma-wave { position: absolute; left: 0; width: 200%; animation: ma-wave 26s linear infinite; will-change: transform; }
.ma-wave svg { display: block; }
.ma-note { position: absolute; width: 18px; height: 13px; border-radius: 50%; animation: ma-float 7s ease-in-out infinite; }
.ma-note-1 { left: 4%; top: 14%; width: 22px; height: 16px; background: var(--ma-orange); }
.ma-note-2 { left: 47%; top: 8%; background: var(--ma-teal); opacity: .6; animation-delay: -2s; }
.ma-note-3 { left: 95%; top: 30%; width: 20px; height: 15px; border: 2.5px solid var(--ma-ink); opacity: .4; animation-delay: -4s; }
.ma-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head fan" "body fan"; column-gap: 56px; row-gap: 26px; padding-top: 80px; padding-bottom: 176px; align-items: end; }
.ma-hero-head { grid-area: head; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.ma-hero-body { grid-area: body; align-self: start; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.ma-hero-title { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; font-weight: 300; letter-spacing: -.03em; max-width: 620px; text-wrap: balance; }
.ma-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ma-soft); padding-top: 18px; border-top: 1px solid var(--ma-line-mid); max-width: 520px; width: 100%; }
.ma-facts li { display: inline-flex; align-items: center; gap: 8px; }
.ma-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ma-orange); flex: none; }
.ma-fan { grid-area: fan; position: relative; height: 600px; align-self: center; animation: ma-fanin 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
.ma-fan-item { position: absolute; display: block; }
.ma-fan-img { display: block; border-radius: 3px; overflow: hidden; box-shadow: 0 34px 60px -28px rgba(17, 20, 22, .55), 0 2px 6px rgba(17, 20, 22, .12); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.ma-fan-item:hover .ma-fan-img, .ma-fan-item:focus-visible .ma-fan-img { transform: translateY(-14px) scale(1.02); }
.ma-fan-el { left: 0; top: 70px; width: 44%; transform: rotate(-9deg); z-index: 1; }
.ma-fan-h2 { right: 0; top: 50px; width: 44%; transform: rotate(8deg); z-index: 2; }
.ma-fan-h1 { left: 26%; top: 0; width: 48%; transform: rotate(-1.5deg); z-index: 3; }

.ma-rise { animation: ma-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.ma-d1 { animation-delay: .12s; }
.ma-d2 { animation-delay: .24s; }

/* ---------- Film ---------- */
.ma-teal-band { background: linear-gradient(105deg, var(--ma-teal-dark) 0%, var(--ma-teal) 48%, var(--ma-teal-light) 76%, var(--ma-teal-mist) 100%); color: var(--ma-white); }
.ma-film-wrap { position: relative; z-index: 2; margin-top: -112px; }
.ma-film { position: relative; max-width: 1040px; margin: 0 auto; min-height: clamp(340px, 38vw, 455px); border-radius: var(--ma-radius-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(17, 20, 22, .55); }
.ma-film-cover { position: absolute; right: 6%; top: 12%; width: 27%; transform: rotate(5deg); border-radius: 3px; box-shadow: 0 30px 50px -20px rgba(17, 20, 22, .5); }
.ma-film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ma-film-poster + .ma-film-inner { background: linear-gradient(90deg, rgba(17, 20, 22, .65), rgba(17, 20, 22, 0) 70%); }
.ma-film-inner { position: absolute; inset: 0; padding: 32px 40px; display: flex; align-items: center; gap: 28px; }
.ma-film-play { position: relative; flex: none; width: 96px; height: 96px; border: 0; border-radius: 50%; background: var(--ma-orange); color: var(--ma-on-bright); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.ma-film-play:hover { transform: scale(1.05); }
.ma-film-play .ma-ico { margin-left: 4px; }
.ma-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--ma-orange); animation: ma-ring 2.2s ease-out infinite; }
.ma-film-text { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; max-width: 440px; }
.ma-film-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 300; letter-spacing: -.02em; }
.ma-film-sub { font-size: 16px; color: rgba(255, 255, 255, .88); }
.ma-film.is-playing { background: var(--ma-black); min-height: 0; aspect-ratio: 16 / 9; }
.ma-film.is-playing > *:not(.ma-embed) { display: none; }
.ma-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--ma-black); }
.ma-film-wrap .ma-small { margin-top: 12px; }

/* ---------- Groove-Pad ---------- */
.ma-legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; color: var(--ma-muted); }
.ma-legend span { display: inline-flex; gap: 8px; align-items: center; }
.ma-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.ma-pad { padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--ma-shadow-lg); }
.ma-pad-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 20px; }
.ma-pad-head strong { font-weight: 600; }
.ma-stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--ma-well); border-radius: var(--ma-radius-sm); padding: 4px; }
.ma-stepper button { border: 0; background: transparent; width: 40px; height: 38px; border-radius: var(--ma-radius-xs); font-size: 20px; cursor: pointer; }
.ma-stepper button:hover { background: var(--ma-card); }
.ma-pad-bpm { font-weight: 600; font-size: 15px; min-width: 72px; text-align: center; }
.ma-pad-grid { display: grid; grid-template-columns: 74px repeat(8, minmax(0, 1fr)); gap: 6px; align-items: center; }
.ma-pad-count { text-align: center; font-size: 14px; font-weight: 600; color: var(--ma-faint); transition: color .1s; }
.ma-pad-count.is-step { color: var(--ma-orange-text); }
.ma-pad-name { font-size: 13px; font-weight: 600; color: var(--ma-muted); }
.ma-cell { min-height: 44px; border: 0; border-radius: var(--ma-radius-8); background: var(--ma-cell); cursor: pointer; transition: transform .08s ease, background-color .1s; }
.ma-cell:nth-of-type(odd) { background: var(--ma-cell-alt); }
.ma-cell:active { transform: scale(.94); }
.ma-cell-0[aria-pressed="true"] { background: var(--ma-ink); }
.ma-cell-1[aria-pressed="true"] { background: var(--ma-orange); }
.ma-cell-2[aria-pressed="true"] { background: var(--ma-teal); }
.ma-cell.is-step { box-shadow: 0 0 0 3px var(--ma-orange); }
.ma-cell.is-step[aria-pressed="true"] { transform: scale(1.08); }
.ma-pad-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.ma-i-pause { display: none; }
.is-playing .ma-i-play { display: none; }
.is-playing .ma-i-pause { display: inline-flex; }
.ma-i-play, .ma-i-pause { display: inline-flex; }
.ma-pad:not(.is-playing) .ma-i-pause, .ma-player:not(.is-playing) .ma-i-pause { display: none; }

/* ---------- Track-Sprung ---------- */
.ma-jump { padding: 24px 28px; display: flex; gap: 18px 22px; align-items: center; flex-wrap: wrap; background: linear-gradient(100deg, var(--ma-card) 0%, var(--ma-card) 55%, var(--ma-h1-to) 100%); }
.ma-jump-text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; }
.ma-jump-text strong { font-size: 21px; font-weight: 600; line-height: 1.25; }
.ma-jump-text span { font-size: 15px; color: var(--ma-muted); }
.ma-jump-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.ma-field { font: inherit; font-size: 16px; min-height: 50px; border-radius: var(--ma-radius-sm); border: 1.5px solid var(--ma-border-field); padding: 0 14px; background: var(--ma-card); color: var(--ma-ink); width: 100%; transition: border-color .15s; }
.ma-field:hover { border-color: var(--ma-border-hover); }
.ma-field:focus { border-color: var(--ma-ink); outline: none; box-shadow: 0 0 0 3px rgba(232, 146, 79, .35); }
.ma-jump-input { width: 110px; }
.ma-jump-msg { flex-basis: 100%; font-size: 14px; font-weight: 600; color: var(--ma-warn-ink); }
.ma-jump-msg:empty { display: none; }

/* ---------- Drei Bereiche ---------- */
.ma-pillar { padding: 30px; display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--c); }
.ma-pillar-letter { font-size: 72px; line-height: .9; font-weight: 300; color: var(--c); }
.ma-pillar h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.ma-pillar p { font-size: 17px; line-height: 1.6; color: var(--ma-muted); }

/* ---------- Reihe ---------- */
.ma-book { overflow: hidden; display: flex; flex-direction: column; }
.ma-book-cover { display: flex; justify-content: center; align-items: flex-end; padding: 32px 28px 0; min-height: 300px; }
.ma-book-cover img, .ma-book-cover .ma-cover-ph { width: 58%; border-radius: var(--ma-radius-bar); box-shadow: var(--ma-shadow-cover); transition: transform .3s ease; }
.ma-book:hover .ma-book-cover img, .ma-book:hover .ma-cover-ph { transform: translateY(-6px); }
.ma-grad-h1 { background: linear-gradient(168deg, var(--ma-h1-from), var(--ma-h1-to)); }
.ma-grad-h2 { background: linear-gradient(168deg, var(--ma-h2-from), var(--ma-h2-to)); }
.ma-grad-lb { background: linear-gradient(168deg, var(--ma-lb-from), var(--ma-lb-to)); }
.ma-book-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ma-book-body h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.ma-book-body p { font-size: 16px; line-height: 1.55; color: var(--ma-muted); flex: 1; }
.ma-book-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.ma-book-actions { display: inline-flex; gap: 8px; }
.ma-cover-ph { display: flex; flex-direction: column; gap: 10px; aspect-ratio: 563 / 800; padding: 9% 7%; background: linear-gradient(170deg, var(--ma-ph-from), var(--ma-ph-to)); color: var(--ma-ink); font-size: 30px; text-align: left; }
.ma-cover-ph-pub { font-size: 9px; align-self: flex-end; }
.ma-cover-ph-logo { margin-top: 12%; }
.ma-cover-ph-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 11px; }
.ma-page-cover .ma-cover-ph { width: 320px; font-size: 66px; }
.ma-page-cover .ma-cover-ph-pub { font-size: 11px; }
.ma-page-cover .ma-cover-ph-tags { font-size: 18px; }

/* ---------- E-Learning-Band ---------- */
.ma-el-band { margin-top: 112px; }
.ma-el-band .ma-split { padding-top: 88px; padding-bottom: 88px; }
.ma-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; color: var(--ma-ink); }
.ma-stat { padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.ma-stat > span { font-size: 15px; color: var(--ma-muted); }
.ma-stat .ma-stat-n { font-size: 52px; line-height: 1; font-weight: 300; color: var(--ma-ink); }
.ma-stat .ma-stat-price { font-size: 28px; font-weight: 600; color: var(--ma-ink); }

/* ---------- News ---------- */
.ma-news-card { overflow: hidden; }
.ma .ma-news-link { display: flex; flex-direction: column; height: 100%; color: var(--ma-ink); }
.ma-news-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ma-footer-bg); }
.ma-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ma-news-card:hover .ma-news-thumb img { transform: scale(1.04); }
.ma-news-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.ma-news-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--ma-soft); }
.ma-pill { background: var(--ma-well); color: var(--ma-ink); border-radius: 3px; padding: 3px 9px; font-weight: 600; font-size: 13px; }
.ma-news-title { font-size: 20px; line-height: 1.3; font-weight: 600; flex: 1; }
.ma-news-more { font-weight: 600; font-size: 15px; color: var(--ma-link); }
.ma-pager { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ---------- Unterseiten ---------- */
.ma-page-hero { padding: 64px 0 72px; }
.ma-page-hero .ma-text { color: var(--ma-prose); }
.ma-page-hero.ma-teal-band .ma-text { color: rgba(255, 255, 255, .92); }
.ma-page-cover { display: flex; justify-content: center; }
.ma-page-cover img { width: 340px; transform: rotate(-3deg); border-radius: 3px; box-shadow: 0 50px 80px -36px rgba(17, 20, 22, .6), 0 2px 6px rgba(17, 20, 22, .15); }
.ma-tilt-right img, .ma-tilt-right .ma-cover-ph { transform: rotate(3deg); }
.ma-page-cover .ma-cover-ph { box-shadow: 0 50px 80px -36px rgba(17, 20, 22, .6); border-radius: 3px; }
.ma-chips-static { display: flex; gap: 8px; flex-wrap: wrap; }
.ma-chips-static li { background: var(--ma-chip-static); border-radius: var(--ma-radius-xs); padding: 8px 12px; font-size: 14px; font-weight: 600; }

/* ---------- Heft: Audio ---------- */
.ma-panel { display: flex; flex-direction: column; gap: 18px; }
.ma-js .ma-panel:not(.is-active) { display: none; }
.ma-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ma-search { position: relative; flex: 1 1 280px; display: block; }
.ma-search .ma-ico { position: absolute; left: 14px; top: 15px; color: var(--ma-soft); pointer-events: none; }
.ma-search .ma-field { padding-left: 44px; }
.ma-ranges { display: flex; gap: 6px; flex-wrap: wrap; }
.ma-list-info:empty { display: none; }
.ma-tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.ma-track { background: var(--ma-card); border-radius: var(--ma-radius-10); box-shadow: 0 0 0 1px var(--ma-ring); transition: box-shadow .15s; }
.ma-track:hover { box-shadow: 0 0 0 1px var(--ma-border-chip); }
.ma-track.is-current { box-shadow: 0 0 0 2px var(--ma-ink); }
.ma-track.is-flash { animation: ma-flash 1.6s ease; }
.ma-js .ma-track.is-hidden { display: none; }
.ma-track-main { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 6px 16px 6px 6px; border: 0; background: transparent; text-align: left; cursor: pointer; border-radius: var(--ma-radius-10); }
.ma-num { flex: none; width: 52px; height: 44px; border-radius: var(--ma-radius-sm); display: grid; place-items: center; font-weight: 600; font-size: 15px; background: var(--accent, var(--ma-h1-accent)); color: var(--ma-ink); font-variant-numeric: tabular-nums; }
.ma-heft[data-ma-heft="h2"] { --accent: var(--ma-h2-accent); }
.ma-heft[data-ma-heft="h1"] { --accent: var(--ma-h1-accent); }
.ma-track.is-current .ma-num { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma-track-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ma-track-title { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-track-meta { font-size: 13px; color: var(--ma-soft); }
.ma-track-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background-color .15s, color .15s; }
.ma-track-main:hover .ma-track-icon { background: var(--ma-orange); color: var(--ma-on-bright); }
.ma-track.is-current.is-live .ma-track-icon { background: var(--ma-orange); color: var(--ma-on-bright); }
.ma-variants { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 12px 12px 72px; }
.ma-empty { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.ma-empty-hits { color: var(--ma-soft); }

.ma-consent { border-radius: var(--ma-radius-lg); min-height: 420px; display: grid; place-items: center; padding: 40px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(105deg, var(--ma-teal-dark), var(--ma-teal) 60%, var(--ma-teal-mid)); }
.ma-consent-inner { display: flex; flex-direction: column; gap: 16px; align-items: center; max-width: 540px; }
.ma-consent-inner p { color: rgba(255, 255, 255, .9); font-size: 16px; }
.ma-consent.is-playing { padding: 0; aspect-ratio: 16 / 9; min-height: 0; background: var(--ma-black); }
.ma-consent.is-playing .ma-consent-inner { display: none; }

.ma-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ma-radius-lg); overflow: hidden; background: var(--ma-black); box-shadow: var(--ma-shadow-lg); }
.ma-video-alt { margin-top: 2px; }
.ma-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ma-docs { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.ma-doc { padding: 16px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ma-doc-ico { width: 44px; height: 54px; border-radius: var(--ma-radius-xs); background: var(--ma-ink); color: var(--ma-on-ink); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.ma-doc-text { flex: 1 1 200px; display: flex; flex-direction: column; }
.ma-doc-text strong { font-weight: 600; font-size: 17px; }

/* ---------- Liederbuch, E-Learning ---------- */
.ma-info-card { padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ma-info-card h2 { font-size: 24px; font-weight: 600; line-height: 1.25; }
.ma-info-card p { color: var(--ma-muted); }
.ma-area { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.ma-area h3 { font-size: 20px; font-weight: 600; }
.ma-area li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ma-line); }
.ma-area li strong { color: var(--ma-link); font-weight: 600; }
.ma-abo { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.ma-abo-featured { box-shadow: inset 0 0 0 2px var(--ma-ink); }
.ma-abo-badge { font-size: 14px; font-weight: 600; color: var(--ma-link); }
.ma-abo h3 { font-size: 24px; font-weight: 600; }
.ma-abo-price { font-size: 30px; font-weight: 600; line-height: 1.2; }
.ma-abo-price span { font-size: 16px; font-weight: 400; color: var(--ma-soft); }
.ma-abo p:last-child { color: var(--ma-muted); font-size: 16px; }

/* ---------- Beitrag, Rechtliches ---------- */
.ma-article { max-width: calc(780px + 2 * var(--ma-gutter)); padding-top: 48px; display: flex; flex-direction: column; gap: 18px; }
.ma-article-head { display: flex; flex-direction: column; gap: 10px; }
.ma-article-title { font-size: clamp(34px, 4.4vw, 52px); }
.ma-article-img img { width: 100%; border-radius: var(--ma-radius); }
.ma-prose { font-size: 18px; line-height: 1.75; color: var(--ma-prose); }
.ma .ma-prose > * + * { margin-top: 1.1em; }
.ma .ma-prose h2 { font-size: 26px; font-weight: 600; line-height: 1.25; margin-top: 1.6em; }
.ma .ma-prose h3 { font-size: 22px; font-weight: 600; line-height: 1.3; margin-top: 1.4em; }
.ma .ma-prose ul, .ma .ma-prose ol { padding-left: 1.3em; }
.ma .ma-prose ul { list-style: disc; }
.ma .ma-prose ol { list-style: decimal; }
.ma-prose a { text-decoration: underline; text-underline-offset: 3px; }
.ma-prose img, .ma-prose iframe, .ma-prose video { max-width: 100%; border-radius: var(--ma-radius-10); }
.ma-prose figure { margin: 1.5em 0; }
.ma-prose blockquote { margin: 1.5em 0; padding-left: 18px; border-left: 3px solid var(--ma-orange); color: var(--ma-muted); }
.ma-prose .wp-block-embed__wrapper, .ma-prose .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.ma-admin-hint { background: var(--ma-hint-bg); border-left: 3px solid var(--ma-orange); padding: 10px 14px; font-size: 15px; }

/* ---------- Kontakt ---------- */
.ma-address { padding: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.5; align-self: stretch; }
.ma-address a { font-weight: 600; }
.ma-form { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.ma-lab { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.ma-opt { font-weight: 400; color: var(--ma-soft); }
.ma-form textarea.ma-field { padding: 12px 14px; min-height: 150px; resize: vertical; line-height: 1.5; }
.ma-form select.ma-field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111416' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.ma-field.is-invalid { border-color: var(--ma-error); }
.ma-field-err { font-size: 13px; font-weight: 500; color: var(--ma-error); }
.ma-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ma-form-msg { border-radius: var(--ma-radius-8); padding: 14px 16px; font-weight: 600; }
.ma-form-msg.is-ok { background: var(--ma-h1-from); color: var(--ma-ok-ink); }
.ma-form-msg.is-err { background: var(--ma-err-bg); color: var(--ma-err-ink); }
.ma-form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Player ---------- */
.ma-player { position: sticky; bottom: 12px; z-index: 50; padding: 0 12px; margin-top: 12px; }
.ma-player[hidden] { display: none; }
.ma-player-inner { max-width: 1100px; margin: 0 auto; background: var(--ma-player); color: var(--ma-white); border-radius: var(--ma-radius-12); padding: 12px 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; box-shadow: var(--ma-shadow-float); animation: ma-rise .35s ease both; }
.ma-player-toggle { width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ma-orange); color: var(--ma-on-bright); display: grid; place-items: center; flex: none; cursor: pointer; }
.ma-player-main { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ma-player-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.ma-player-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.ma-player-time { color: rgba(255, 255, 255, .7); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ma-player-seek { width: 100%; height: 22px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 0%; }
.ma-player-seek::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ma-orange) var(--p), rgba(255, 255, 255, .18) var(--p)); }
.ma-player-seek::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.ma-player-seek::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--ma-orange); }
.ma-player-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--ma-white); margin-top: -4px; }
.ma-player-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--ma-white); }
.ma-player-rates { display: flex; gap: 2px; background: rgba(255, 255, 255, .08); border-radius: var(--ma-radius-sm); padding: 4px; }
.ma-rate { border: 0; background: transparent; color: var(--ma-white); min-height: 36px; padding: 0 10px; border-radius: var(--ma-radius-xs); font-size: 13px; font-weight: 600; cursor: pointer; }
.ma-rate.is-on { background: var(--ma-white); color: var(--ma-on-bright); }
.ma-player-loop { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--ma-radius-sm); border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: var(--ma-white); font-size: 13px; font-weight: 600; cursor: pointer; }
.ma-player-loop[aria-pressed="true"] { background: var(--ma-orange); border-color: var(--ma-orange); color: var(--ma-on-bright); }
.ma-player-close { border: 0; background: transparent; color: var(--ma-white); width: 40px; height: 40px; border-radius: var(--ma-radius-sm); display: grid; place-items: center; cursor: pointer; }
.ma-player-close:hover { background: rgba(255, 255, 255, .1); }
.ma-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; background: var(--ma-player); color: var(--ma-white); padding: 12px 18px; border-radius: var(--ma-radius-10); font-size: 15px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); display: flex; gap: 12px; align-items: center; max-width: calc(100vw - 32px); }
.ma-toast button { border: 0; background: var(--ma-orange); color: var(--ma-on-bright); border-radius: var(--ma-radius-sm); min-height: 36px; padding: 0 12px; font-weight: 600; cursor: pointer; }

/* ---------- Footer ---------- */
.ma-footer { background: var(--ma-footer-bg); color: var(--ma-ink); border-top: 1px solid var(--ma-line); margin-top: 24px; }
.ma-footer-grid { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.ma-footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ma-footer-brand p { font-size: 15px; color: var(--ma-muted); }
.ma .ma-footer-brand a { color: var(--ma-ink); }
.ma-footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; align-items: flex-start; }
.ma-footer-col strong { font-weight: 600; margin-bottom: 2px; }
.ma .ma-footer-col a { color: var(--ma-ink); }
.ma .ma-footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ma-footer-bottom { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--ma-line-mid); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ma-muted); }
.ma-footer-legal { display: flex; gap: 18px; }
.ma .ma-footer-legal a { color: var(--ma-muted); }

/* ---------- Einblenden beim Scrollen ---------- */
.ma-js .ma-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.ma-js .ma-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animationen ---------- */
@keyframes ma-wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ma-float { 0%, 100% { transform: translateY(0) rotate(-20deg); } 50% { transform: translateY(-16px) rotate(-20deg); } }
@keyframes ma-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ma-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ma-fanin { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes ma-flash { 0%, 100% { box-shadow: 0 0 0 2px var(--ma-ink); } 30% { box-shadow: 0 0 0 6px var(--ma-orange); } }

@media (prefers-reduced-motion: reduce) {
	.ma *, .ma *::before, .ma *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.ma-js .ma-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
	.ma-nav, .ma-header-cta { display: none; }
	.ma-menu-btn { display: inline-flex; }
}
@media (max-width: 960px) {
	:root { --ma-gutter: 16px; --ma-header-h: 68px; }
	body.ma-site { font-size: 16px; }
	.ma-g2, .ma-g3, .ma-split, .ma-tracks, .ma-stats { grid-template-columns: minmax(0, 1fr); }
	.ma-split { gap: 32px; }
	.ma-sec { padding-top: 80px; }
	.ma-sec-top { padding-top: 48px; }
	.ma-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "fan" "body"; row-gap: 24px; padding-top: 40px; padding-bottom: 150px; }
	.ma-hero-title { font-size: 40px; }
	.ma-fan { height: 320px; max-width: 420px; width: 100%; justify-self: center; }
	.ma-brand-sub { display: none; }
	.ma-film { min-height: 340px; }
	.ma-film-inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 24px; gap: 18px; }
	.ma-film-play { width: 76px; height: 76px; }
	.ma .ma-film-cover { display: none; }
	.ma-note { display: none; }
	.ma-waves { inset: auto 0 0 0; height: 230px; }
	.ma-teal-band { background: linear-gradient(170deg, var(--ma-teal-dark) 0%, var(--ma-teal) 70%, #2A8189 100%); }
	.ma-el-band { margin-top: 80px; }
	.ma-el-band .ma-split { padding-top: 56px; padding-bottom: 56px; }
	.ma-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ma-page-hero { padding: 40px 0 48px; }
	.ma-page-cover { display: none; }
	.ma-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ma-footer-brand { grid-column: 1 / -1; }
	.ma-pad { padding: 18px; }
	.ma-pad-grid { grid-template-columns: 60px repeat(8, minmax(0, 1fr)); gap: 4px; }
	.ma-pad-name { font-size: 11px; }
	.ma-cell { min-height: 40px; border-radius: var(--ma-radius-sm); }
	.ma-jump { padding: 20px; }
	.ma-form { padding: 22px; }
	.ma-player { bottom: 8px; padding: 0 8px; }
	.ma-player-inner { gap: 10px; padding: 10px; }
	.ma-player-main { flex-basis: calc(100% - 128px); }
	.ma-player-rates { order: 3; }
	.ma-player-loop { order: 4; }
	.ma-spacer { height: 64px; }
}
@media (max-width: 782px) {
	body.admin-bar .ma-header { top: 46px; }
}
@media (max-width: 600px) {
	body.admin-bar .ma-header { top: 0; }
}
@media (max-width: 420px) {
	.ma-btn-lg { width: 100%; }
	.ma-book-actions { width: 100%; }
	.ma-variants { padding-left: 12px; }
}
@media print {
	.ma-header, .ma-player, .ma-footer, .ma-waves { display: none !important; }
}

/* =========================================================
   Heft: Videos (einzeln, mit Liste)
   ========================================================= */
.ma-vids { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.ma-vids.is-few { grid-template-columns: minmax(0, 1.75fr) minmax(260px, .9fr); }
.ma-vids-stage { position: sticky; top: calc(var(--ma-header-h) + 16px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ma-vids-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ma-radius-lg); overflow: hidden; background: var(--ma-video-bg); box-shadow: var(--ma-shadow-lg); }
.ma-vids-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ma-vids-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(120deg, var(--ma-teal-dark), var(--ma-teal) 55%, var(--ma-teal-mid)); color: var(--ma-white); display: block; text-align: left; }
.ma-vids-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.ma-vids-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); pointer-events: none; }
.ma-vids-poster:hover img { transform: scale(1.025); }
.ma-vids-poster-label { position: absolute; left: 22px; bottom: 18px; right: 110px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ma-vids-poster-sub { color: var(--ma-white); font-size: clamp(16px, 2.2vw, 22px); font-weight: 600; line-height: 1.2; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.ma-vids-poster-sub:empty { display: none; }
.ma-vids-code { display: inline-block; background: var(--ma-ink); color: var(--ma-on-ink); padding: 4px 9px 3px; font-weight: 600; font-size: 14px; line-height: 1.25; border-radius: var(--ma-radius-bar); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ma-vids-bigplay { position: absolute; z-index: 1; right: 22px; bottom: 18px; width: 72px; height: 72px; border-radius: 50%; background: var(--ma-orange); color: var(--ma-on-bright); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .2s ease; }
.ma-vids-bigplay .ma-ico { margin-left: 4px; }
.ma-vids-poster:hover .ma-vids-bigplay, .ma-vids-poster:focus-visible .ma-vids-bigplay { transform: scale(1.08); }
.ma-vids-player.is-loading::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: var(--ma-orange); animation: ma-spin .8s linear infinite; }
@keyframes ma-spin { to { transform: rotate(360deg); } }
.ma-vids-now { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.ma-vids-now-text { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 260px; }
.ma-vids-now-title { font-size: 18px; font-weight: 600; line-height: 1.3; min-width: 0; }
.ma-vids-ctrl { display: flex; align-items: center; gap: 6px; }
.ma-vids-pos { min-width: 64px; text-align: center; font-size: 14px; color: var(--ma-soft); font-variant-numeric: tabular-nums; }
.ma .ma-vids-ext { margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--ma-soft); display: inline-flex; align-items: center; gap: 4px; }
.ma .ma-vids-ext:hover { color: var(--ma-ink); }
.ma-icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ma-card); color: var(--ma-ink); display: inline-grid; place-items: center; cursor: pointer; box-shadow: var(--ma-shadow); transition: background-color .15s, color .15s; flex: none; }
.ma-icon-btn:hover { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma-icon-btn:disabled { opacity: .35; pointer-events: none; }
.ma-vids-note { margin: 0; }

.ma-vids-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ma-vids-search { flex: none; }
.ma-vids-list { list-style: none; margin: 0; padding: 4px; display: flex; flex-direction: column; gap: 6px; max-height: min(78vh, 760px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border-radius: var(--ma-radius-12); }
.ma-vids.is-few .ma-vids-list { max-height: none; }
.ma-js .ma-vids-list li.is-hidden { display: none; }
.ma-vid { width: 100%; display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border: 0; background: var(--ma-card); border-radius: var(--ma-radius-10); box-shadow: 0 0 0 1px var(--ma-ring); text-align: left; cursor: pointer; color: var(--ma-ink); transition: box-shadow .15s, background-color .15s; }
.ma-vid:hover { box-shadow: 0 0 0 1px var(--ma-border-field); }
.ma-vid.is-current { box-shadow: 0 0 0 2px var(--ma-ink); }
.ma-vid-thumb { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: var(--ma-radius-sm); overflow: hidden; background: var(--accent, var(--ma-h1-accent)); display: grid; place-items: center; }
.ma-vid-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ma-vid-num { font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.ma-vid-dur { position: absolute; right: 4px; bottom: 4px; background: rgba(17, 20, 22, .82); color: var(--ma-white); font-size: 11px; font-weight: 600; line-height: 1; padding: 3px 5px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.ma-vid-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; gap: 2px; }
.ma-vid-label { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.ma-vid-sub { font-size: 13.5px; color: var(--ma-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ma-vid-live { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--ma-on-bright); opacity: 0; transition: opacity .15s, background-color .15s; }
.ma-vid:hover .ma-vid-live { opacity: 1; background: var(--ma-orange); }
.ma-vid.is-current .ma-vid-live { opacity: 1; background: var(--ma-orange); }
.ma-vid.is-current .ma-vid-thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--ma-orange); border-radius: var(--ma-radius-sm); }
.ma-vids.is-nothumbs .ma-vid-thumb { width: 64px; }

@media (max-width: 960px) {
	.ma-vids, .ma-vids.is-few { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.ma-vids-stage { position: relative; top: 0; }
	.ma-vids-list { max-height: none; overflow: visible; padding: 2px; }
}
@media (max-width: 600px) {
	.ma-vids-player { border-radius: var(--ma-radius-12); margin: 0 calc(var(--ma-gutter) * -0.25); }
	.ma-vids-bigplay { width: 58px; height: 58px; right: 14px; bottom: 14px; }
	.ma-vids-poster-label { left: 14px; bottom: 14px; right: 84px; }
	.ma-vids-now-text { flex-basis: 100%; }
	.ma-vids-ctrl { width: 100%; }
	.ma .ma-vids-ext { margin-left: auto; }
	.ma-vid-thumb { width: 96px; }
}

/* =========================================================
   PDF-Ansicht im Fenster (Modal)
   ========================================================= */
.ma-doc-ico { font-variant-numeric: tabular-nums; }
.ma .ma-doc .ma-chip { gap: 8px; }
html.ma-modal-open, html.ma-modal-open body { overflow: hidden; }
.ma-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: var(--font-sans); color: var(--ma-ink); }
.ma-modal[hidden] { display: none; }
.ma-modal-backdrop { position: absolute; inset: 0; background: rgba(17, 20, 22, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: ma-fade .2s ease; }
.ma-modal-box { position: relative; width: min(1040px, 100%); height: min(92vh, 1200px); background: var(--ma-paper); border-radius: var(--ma-radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); animation: ma-pop .22s ease; }
@keyframes ma-fade { from { opacity: 0; } }
@keyframes ma-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.ma-modal-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 20px; background: var(--ma-card); border-bottom: 1px solid var(--ma-line); flex: none; }
.ma-modal-title { flex: 1; min-width: 0; font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-modal-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.ma-modal-tools .ma-icon-btn { box-shadow: none; background: transparent; }
.ma-modal-tools .ma-icon-btn:hover { background: var(--ma-ink); color: var(--ma-on-ink); }
.ma-modal-zoom { display: flex; align-items: center; gap: 2px; padding-right: 6px; margin-right: 4px; border-right: 1px solid var(--ma-line); }
.ma-modal-zoomval { min-width: 48px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ma-soft); font-variant-numeric: tabular-nums; }
.ma-modal-page { font-size: 13px; color: var(--ma-soft); font-variant-numeric: tabular-nums; min-width: 70px; text-align: center; }
.ma .ma-modal-dl, .ma-modal .ma-modal-dl { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--ma-radius-sm); background: var(--ma-ink); color: var(--ma-on-ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.ma-modal .ma-modal-dl:hover { background: var(--ma-teal-dark); color: var(--ma-white); }
.ma-modal-close { background: var(--ma-orange) !important; color: var(--ma-on-bright) !important; }
.ma-modal-body { position: relative; flex: 1; min-height: 0; overflow: auto; background: var(--ma-modal-bg); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ma-modal-pages { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 12px 28px; min-width: min-content; }
.ma-pdf-page { position: relative; background: var(--ma-white); box-shadow: 0 2px 10px rgba(17, 20, 22, .14); flex: none; }
.ma-pdf-page canvas { display: block; width: 100%; height: 100%; }
.ma-modal-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--ma-white); }
.ma-modal-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ma-muted); }
.ma-modal-msg p { max-width: 420px; display: flex; flex-direction: column; gap: 14px; align-items: center; margin: 0; }
.ma-modal-spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--ma-line-mid); border-top-color: var(--ma-orange); animation: ma-spin .8s linear infinite; }
@media (max-width: 700px) {
	.ma-modal { padding: 0; }
	.ma-modal-box { width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
	.ma-modal-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 8px 6px 14px; }
	.ma-modal-title { font-size: 15px; grid-column: 1; grid-row: 1; }
	.ma-modal-close { grid-column: 2; grid-row: 1; }
	.ma-modal-tools { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
	.ma-modal-zoom { border-right: 0; margin-left: -8px; }
	.ma-modal-page { min-width: 0; }
	.ma-modal-dl span { display: none; }
	.ma-modal-pages { padding: 10px 6px 20px; gap: 8px; }
}
@media print { .ma-modal { display: none !important; } }

/* =========================================================
   Dunkelmodus (nicht im Plugin): das Auswahl-Pfeil-Bild kann
   keine Variable lesen, deshalb eine eigene Regel.
   ========================================================= */
[data-theme="dark"] .ma-form select.ma-field { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f1eee7' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }

/* =========================================================
   Nur für die Vorschauen dieses Design Systems (nicht im Plugin):
   <body class="ma-site"><div class="ma ma-preview">…</div>
   ========================================================= */
body.ma-site { font-size: 17px; background: var(--ma-paper); color: var(--ma-ink); }
.ma.ma-preview { min-height: 0; display: block; padding: 24px; }
.ma.ma-preview-bleed { padding: 0; }
.ma-preview-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ma-preview-col { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ma-preview .ma-player { position: static; padding: 0; margin: 0; }
.ma-preview .ma-header { position: static; }
.ma-preview .ma-toast { position: static; transform: none; display: inline-flex; }
.ma-preview .ma-modal { position: relative; inset: auto; height: 460px; padding: 16px; }
.ma-preview .ma-modal-box { height: 100%; }
.ma-preview .ma-reveal { opacity: 1; transform: none; }
