/* From the design (Draft v2, <helmet> styles), plus what the static site needs. */
body{margin:0}
a{color:inherit;text-decoration:none}
a:hover{opacity:0.7}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
.mm-burger{display:none}
@media (max-width: 900px){.mm-full{display:none !important}.mm-burger{display:flex}}
/* Instagram tiles: same tone as Hinter den Kulissen (soft-light + screen wash); hover reveals the original. */
.mm-reel-img{transition:filter 0.4s ease}
.mm-tint{transition:opacity 0.4s ease}
a.mm-reel:hover{opacity:1}
.mm-reel:hover .mm-reel-img,.mm-reel:focus-visible .mm-reel-img{filter:none !important}
.mm-reel:hover .mm-tint,.mm-reel:focus-visible .mm-tint{opacity:0 !important}
.mm-bts-img{transition:filter 0.4s ease}
.mm-bts-ov{transition:opacity 0.4s ease}
.mm-bts:hover .mm-bts-img,.mm-bts:focus-visible .mm-bts-img{filter:none !important}
.mm-bts:hover .mm-bts-ov,.mm-bts:focus-visible .mm-bts-ov{opacity:0 !important}
a.mm-bts:hover{opacity:1}
.mm-carousel{scrollbar-width:thin}
.mm-news-img{transition:filter 0.4s ease}
.mm-news-ov{transition:opacity 0.4s ease}
.mm-news:hover .mm-news-img,.mm-news:focus-within .mm-news-img{filter:none !important}
.mm-news:hover .mm-news-ov,.mm-news:focus-within .mm-news-ov{opacity:0 !important}
html{scroll-padding-top:150px}
img{max-width:100%}
[hidden]{display:none !important}
a.mm-bts:hover{opacity:1}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{transition:none !important}}

/* Aktuell: 4 cards visible on wide screens, 2 on tablets, 1 with a peek on phones; arrows scroll one card. */
@media (min-width: 600px) and (max-width: 899px){ .mm-carousel > article{flex:0 0 calc((100% - 20px) / 2) !important} }
@media (min-width: 900px){
  .mm-carousel{scrollbar-width:none;padding-bottom:2px !important}
  .mm-carousel::-webkit-scrollbar{display:none}
  .mm-carousel > article{flex:0 0 calc((100% - 60px) / 4) !important}
}
.mm-carousel > article{box-sizing:border-box}
.mm-news-arrows button{transition:opacity 0.2s ease}
.mm-news-arrows button[aria-disabled="true"]{opacity:0.25;cursor:default}
.mm-news-arrows.is-idle{visibility:hidden}
.mm-carousel:focus-visible{outline:2px solid currentColor;outline-offset:4px}

/* Compact header (site.json "headerPhoto": true; the key keeps its name, the photo itself was removed on 18 Nov 2026).
   Once the hero photo is gone the header shrinks to about 56 px and gets a soft shadow. Switch off in Pages CMS: "Schmaler Header beim Scrollen". */
.mm-hst{display:none}
[data-compact] [data-head]{transition:background-color 0.3s ease,border-color 0.3s ease,box-shadow 0.35s ease}
[data-compact] [data-head] [data-name]{transition:font-size 0.35s ease,margin 0.35s ease}
[data-compact] [data-head].mm-solid{box-shadow:0 6px 18px rgba(58,15,24,0.1),0 1px 0 rgba(58,15,24,0.06)}
[data-compact] [data-head].mm-solid > div:first-of-type{padding-top:10px !important;padding-bottom:10px !important;align-items:center !important;flex-wrap:nowrap !important}
[data-compact] [data-head].mm-solid [data-name]{font-size:28px !important}
[data-compact] [data-head].mm-solid .mm-hst{display:inline;margin-left:14px;font-size:0.5em;color:#7A4A52}
[data-compact] [data-head].mm-solid [data-sectitle]{display:none !important}
[data-compact] [data-head].mm-solid [data-langrow]{display:none !important}
[data-compact] [data-head].mm-solid [data-navbox]{align-self:center !important}
[data-compact] [data-head].mm-solid nav[aria-label="Main"]{flex-wrap:nowrap !important;gap:0 20px !important;white-space:nowrap}
@media (max-width: 1240px){
  [data-compact] [data-head].mm-solid nav[aria-label="Main"]{gap:0 14px !important;font-size:12px !important;letter-spacing:0.1em !important}
  [data-compact] [data-head].mm-solid .mm-hst{display:none}
}
[data-compact] [data-biostage]{top:64px !important}
html:has([data-compact]){scroll-padding-top:80px}
@media (max-width: 900px){
  [data-compact] [data-head].mm-solid [data-name]{font-size:26px !important}
  [data-compact] [data-head].mm-solid .mm-hst{display:none}
}

/* Header baseline: the name and the menu line sit on the same baseline in every language (not in the compact scrolled state, which centres them). */
@media (min-width: 901px){
  [data-head]:not(.mm-solid) > div:first-of-type > h1,
  [data-head]:not(.mm-solid) [data-navbox]{align-self:last baseline !important}
}

/* Header on mid-width screens (901 to 1240 px): name and menu stay on one line instead of the menu wrapping below the name. */
@media (min-width: 901px) and (max-width: 1240px){
  [data-head] > div:first-of-type{flex-wrap:nowrap !important;gap:8px 28px !important}
  [data-head] [data-navbox] nav[aria-label="Main"]{flex-wrap:nowrap !important;gap:0 14px !important;font-size:12px !important;letter-spacing:0.1em !important;white-space:nowrap}
}

/* Videos: Brahms in the middle, two Shorts on each side, one row (widths 81:81:256:81:81 = equal heights) */
.vrow { display: grid; grid-template-columns: 81fr 81fr 256fr 81fr 81fr; gap: 20px; align-items: start; }
@media (max-width: 899px) {
  .vrow { grid-template-columns: 1fr 1fr; gap: 20px; }
  .vrow-main { grid-column: 1 / -1; order: -1; }
}

/* Hero video and music player (18 Nov 2026). The player sits in the hero; once the page covers it,
   a compact copy docks at the bottom right (full width on phones). Both drive the same audio. */
.mm-pl{box-sizing:border-box;background:rgba(246,236,236,0.95);color:#3A0F18}
.mm-pl-big{flex:0 1 660px;margin-left:auto;min-width:0;padding:14px 20px 14px 14px;transition:opacity 0.5s cubic-bezier(0.4,0,0.2,1),visibility 0s linear 0s}
.mm-pl-big.mm-off{opacity:0;visibility:hidden;transition:opacity 0.5s cubic-bezier(0.4,0,0.2,1),visibility 0s linear 0.5s}
.mm-pl-row{display:flex;align-items:center;gap:18px}
.mm-pl-main{flex:1 1 auto;min-width:0}
.mm-pl-btn{flex:0 0 auto;width:52px;height:52px;border-radius:50%;background:#3A0F18 !important;color:#FFFFFF !important;display:flex;align-items:center;justify-content:center}
.mm-pl-btn-s{width:44px;height:44px}
.mm-pl .mm-i-pause,.mm-pl.mm-playing .mm-i-play{display:none}
.mm-pl.mm-playing .mm-i-pause{display:block}
.mm-pl-kicker{margin:0;font-size:12px;font-weight:500;letter-spacing:0.18em;text-transform:uppercase;color:#8C1D33}
.mm-pl-title{margin:2px 0 6px;font-family:"Gilda Display",serif;font-size:21px;line-height:1.25}
.mm-pl-title-s{margin:0;font-family:inherit;font-size:14px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-pl-seek{display:block;width:100%;margin:2px 0 0;height:20px;accent-color:#8C1D33;cursor:pointer}
.mm-pl-time{flex:0 0 auto;font-size:13px;font-variant-numeric:tabular-nums;color:#7A4A52}
.mm-pl-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0 70px}
.mm-pl-mini .mm-pl-chips{margin-left:0}
.mm-chip{min-height:36px;padding:0 14px !important;border-radius:18px;border:1px solid #D9C2C6 !important;font-size:13px;letter-spacing:0.06em;color:#3A0F18}
.mm-chip[aria-pressed="true"]{background:#3A0F18 !important;border-color:#3A0F18 !important;color:#FFFFFF}
.mm-chip-i{width:36px;padding:0 !important;display:inline-flex;align-items:center;justify-content:center}
.mm-pl-mini{position:fixed;right:24px;bottom:24px;z-index:6;width:400px;padding:12px 14px;border:1px solid #E6CFCF;box-shadow:0 10px 30px rgba(58,15,24,0.16);
  opacity:0;transform:translateY(22px) scale(0.98);transition:opacity 0.55s cubic-bezier(0.22,1,0.36,1) 0.08s,transform 0.55s cubic-bezier(0.22,1,0.36,1) 0.08s}
.mm-pl-mini .mm-pl-row{gap:12px}
.mm-pl-mini .mm-pl-time{font-size:12px}
.mm-pl-mini.mm-on{opacity:1;transform:none}
.mm-pl-mini:not(.mm-on){transition-delay:0s;transition-duration:0.4s}
.mm-vbtn{flex:0 0 auto;width:44px;height:44px;border-radius:50%;border:1px solid rgba(58,15,24,0.35) !important;background:rgba(246,236,236,0.85) !important;color:#3A0F18;display:flex;align-items:center;justify-content:center}
.mm-vbtn .mm-i-play,.mm-vbtn.mm-paused .mm-i-pause{display:none}
.mm-vbtn.mm-paused .mm-i-play{display:block}
@media (max-width: 600px){
  .mm-pl-big{padding:12px}
  .mm-pl-row{gap:12px}
  .mm-pl-btn{width:44px;height:44px}
  .mm-pl-title{font-size:17px}
  .mm-pl-chips{margin-left:0}
  .mm-pl-mini{left:10px;right:10px;bottom:10px;width:auto}
}

/* Layout polish (18 Nov 2026) */
/* The hero player scrolls with the page (it is not part of the pinned hero); the compact copy docks once it is about half way up the picture. */
[data-pl-wrap] .mm-pl,[data-pl-wrap] .mm-vbtn{pointer-events:auto}
/* Prizes in two columns */
.mm-prizes{columns:2 260px;column-gap:40px}
.mm-prizes li{break-inside:avoid}
/* Same tile height in Videos, Auf Instagram and Hinter den Kulissen (wide screens). The Video row sets the height:
   five columns 81:81:256:81:81 fr, a 9:16 Short is 81 fr wide, so its height is (row width - 4 gaps) * 81 * 16 / (580 * 9). */
.mm-tiles{container-type:inline-size}
.mm-btsrow{display:flex;gap:20px;align-items:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.mm-btsrow::-webkit-scrollbar{display:none}
.mm-btsrow:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.mm-btsrow > figure{margin:0 !important;flex:0 0 calc(var(--tile-h) * 0.8);scroll-snap-align:start}
.mm-btsrow .mm-bts-img{width:100% !important;height:var(--tile-h);aspect-ratio:auto !important}
.mm-btsgrid{--tile-h:220px}
.mm-reels{--tile-h:220px;display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.mm-reels::-webkit-scrollbar{display:none}
.mm-reels:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.mm-reel{flex:0 0 auto !important;scroll-snap-align:start}
.mm-reel > span:first-child{height:var(--tile-h)}
@media (min-width: 900px){
  .vrow,.mm-reels,.mm-btsgrid{--tile-h:calc((100cqw - 80px) * 0.24828)}
}

/* Docked player: collapsed to one row (play, title, time) and slides open on hover or focus (and on tap on touch devices) to show the piece buttons. */
.mm-pl-mini .mm-pl-chips{margin:0;max-height:0;overflow:hidden;opacity:0;pointer-events:none;transition:max-height 0.45s cubic-bezier(0.22,1,0.36,1),margin-top 0.45s cubic-bezier(0.22,1,0.36,1),opacity 0.3s ease 0s}
.mm-pl-mini:hover .mm-pl-chips,.mm-pl-mini:focus-within .mm-pl-chips,.mm-pl-mini.mm-open .mm-pl-chips{max-height:90px;margin-top:10px;opacity:1;pointer-events:auto;transition:max-height 0.45s cubic-bezier(0.22,1,0.36,1),margin-top 0.45s cubic-bezier(0.22,1,0.36,1),opacity 0.35s ease 0.12s}
@media (prefers-reduced-motion:reduce){.mm-pl-mini .mm-pl-chips,.mm-pl-mini:hover .mm-pl-chips,.mm-pl-mini:focus-within .mm-pl-chips,.mm-pl-mini.mm-open .mm-pl-chips{transition:none}}

/* One caption style for every tile in Videos and Auf Instagram (title in the display font, one muted line below). */
@media (min-width: 601px){
  .mm-pl-big{flex-basis:440px;padding:10px 14px 10px 10px}
  .mm-pl-big .mm-pl-row{gap:12px}
  .mm-pl-big .mm-pl-btn{width:44px;height:44px}
  .mm-pl-big .mm-pl-kicker{font-size:11px}
  .mm-pl-big .mm-pl-title{font-size:17px;margin:1px 0 3px}
  .mm-pl-big .mm-pl-chips{margin:6px 0 0 56px;gap:5px}
  .mm-pl-big .mm-chip{min-height:30px;padding:0 11px !important;font-size:12px}
  .mm-pl-big .mm-chip-i{width:30px;padding:0 !important}
}

/* Instrument: photo flush with the top of the section and the right page edge, fading into the ground on its left */
/* Text column max width = the German line "Das Cello wird ... zur Verfügung gestellt." on one line (723 px at 17 px Jost), David 26 Nov 2026 */
.mm-inst{position:relative;overflow:hidden;min-height:min(607px,45.5vw)}
.mm-inst-text{position:relative;z-index:1;max-width:min(724px,calc(100% - min(420px,31.5vw) + 20px))}
.mm-inst-photo{position:absolute;top:0;right:0;width:min(420px,31.5vw);aspect-ratio:9/13;background:#000;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 8%);mask-image:linear-gradient(to right,transparent 0%,#000 8%)}
@media (max-width: 899px){
  .mm-inst{min-height:0}
  .mm-inst-text{max-width:none}
  .mm-inst-photo{position:relative;width:min(100%,360px);margin:0 0 0 auto;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 15%);mask-image:linear-gradient(to right,transparent 0%,#000 15%)}
}

/* Hero photo on phones (23 Nov 2026): the portrait sat too low (face under the fade, empty ceiling on top, body behind the player).
   Enlarge the picture a little and shift it up; shorter fade at the top.
   26 Nov 2026: picture moved right (object-position 22 %, head centred, cello scroll just visible; fade ends just above the hair at the top so name and menu stay readable. */
@media (max-width: 899px){
  .mm-hero-img{inset:auto 0 auto 0 !important;top:-15% !important;height:120% !important;object-position:22% 30% !important}
  .mm-hero-img,.mm-hero-tint{-webkit-mask-image:linear-gradient(to bottom,transparent 0,transparent 185px,rgba(0,0,0,0.3) 220px,#000 255px) !important;mask-image:linear-gradient(to bottom,transparent 0,transparent 185px,rgba(0,0,0,0.3) 220px,#000 255px) !important}
}

/* Video tiles: the tinted copy is one isolated layer on top of the original photo; hover fades that layer out, nothing else changes. */
.mm-vid-tint{transition:opacity 0.8s ease}
.mm-vid:hover .mm-vid-tint,.mm-vid:focus-visible .mm-vid-tint{opacity:0}
a.mm-vid:hover,a.mm-vid:focus-visible{opacity:1}

/* Contact form: collapsed to one row, opens on click. */
#contact-form>summary{list-style:none}
#contact-form>summary::-webkit-details-marker{display:none}
#contact-form .mm-cf-chev{transition:transform 0.25s ease}
#contact-form[open] .mm-cf-chev{transform:rotate(180deg)}
#contact-form>summary:focus-visible{outline:2px solid #8C1D33;outline-offset:2px}

/* Concert and archive filters: one line on phones */
@media (max-width: 600px){
  .mm-filters{flex-wrap:nowrap !important;justify-content:space-between !important;gap:0 2px !important;width:100%;font-size:clamp(8px,3.55vw,14px) !important;letter-spacing:0 !important}
  .mm-filters button{white-space:nowrap}
}

/* Audio player (26 Nov 2026): slightly rounded corners on both players. */
.mm-pl{border-radius:12px}
/* Phones: the piece buttons stay on one row and scale with the width of the panel instead of wrapping.
   The chip row is a size container, so the button sizes (cqw) follow the panel, not the screen. */
@media (max-width: 600px){
  .mm-pl-chips{container-type:inline-size;flex-wrap:nowrap;gap:1.6%}
  .mm-pl .mm-chip{flex:1 1 auto;min-width:0;min-height:clamp(28px,11cqw,36px);padding:0 clamp(4px,2.6cqw,14px) !important;font-size:clamp(10px,4.4cqw,13px);letter-spacing:0.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mm-pl .mm-chip-i{flex:0 0 auto;width:clamp(28px,11cqw,36px);padding:0 !important}
  .mm-pl .mm-chip-i svg{width:clamp(9px,3.4cqw,11px);height:auto}
}
/* Close button on the compact player */
.mm-pl-x{flex:0 0 auto;width:28px;height:28px;margin-left:-4px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#7A4A52;background:transparent !important;cursor:pointer}
.mm-pl-x:hover,.mm-pl-x:focus-visible{color:#3A0F18;background:rgba(58,15,24,0.08) !important}
/* Thin frame around both players (same line colour as the piece buttons) */
.mm-pl{border:1px solid #D9C2C6 !important}

/* Press kit (contact section): dialog with bios and photos, single downloads or a ZIP of the selection. */
.mm-pk{width:min(1200px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);padding:0;border:0;box-shadow:0 24px 64px rgba(58,15,24,0.35)}
.mm-pk::backdrop{background:rgba(58,15,24,0.55)}
.mm-pk[open]{display:flex}
.mm-pk-in{display:flex;flex-direction:column;width:100%;max-height:calc(100vh - 32px);font-size:16px;line-height:1.6}
.mm-pk-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 32px 18px;border-bottom:1px solid #E6CFCF}
.mm-pk-x{flex:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #E6CFCF}
.mm-pk-body{flex:1 1 auto;overflow-y:auto;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
.mm-pk-col{padding:22px 32px 26px;display:flex;flex-direction:column;gap:14px;min-width:0}
.mm-pk-bio{border-right:1px solid #E6CFCF}
.mm-pk-lab{margin:0;font-size:13px;font-weight:500;letter-spacing:0.22em;text-transform:uppercase;color:#8C1D33}
.mm-pk-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.mm-pk-segs{display:flex;flex-wrap:wrap;gap:6px}
.mm-pk-seg{min-height:44px;padding:0 14px;border:1px solid #E6CFCF;font-size:14px;letter-spacing:0.04em}
.mm-pk-seg[aria-pressed="true"]{background:#3A0F18;border-color:#3A0F18;color:#FFFFFF}
.mm-pk-wc{opacity:0.75;font-size:13px}
.mm-pk-short{display:none}
.mm-pk-prev{background:#FFFFFF;border:1px solid #E6CFCF;padding:18px 20px;height:300px;overflow-y:auto;font-size:15px;line-height:1.6}
.mm-pk-prev p{margin:0 0 10px}
.mm-pk-prev:focus-visible{outline:2px solid #8C1D33;outline-offset:2px}
.mm-pk-acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.mm-pk-btn{min-height:44px;padding:0 14px 0 10px;display:inline-flex;align-items:center;gap:10px;border:1px solid #E6CFCF;background:#FFFFFF;font-size:14px}
.mm-pk-btn-o{padding:0 14px;border-color:#3A0F18;background:transparent;gap:8px}
.mm-pk-link{min-height:44px;padding:0;font-size:14px;color:#8C1D33;text-decoration:underline;text-underline-offset:4px}
.mm-pk-link-m{color:#7A4A52}
.mm-pk-box{flex:none;width:22px;height:22px;box-sizing:border-box;border:1.5px solid #7A4A52;background:#FFFFFF;color:transparent;display:inline-flex;align-items:center;justify-content:center}
[aria-pressed="true"]>.mm-pk-box{border-color:#8C1D33;background:#8C1D33;color:#FFFFFF}
.mm-pk-chips{display:flex;flex-wrap:wrap;gap:6px;font-size:13px}
.mm-pk-chips button{min-height:32px;padding:0 10px;border:1px solid #E6CFCF;background:#F3D6DA;font-size:13px}
.mm-pk-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.mm-pk-card{display:flex;flex-direction:column;background:#FFFFFF;border:1px solid #E6CFCF}
.mm-pk-card[data-on]{border-color:#8C1D33;outline:1px solid #8C1D33}
.mm-pk-imgw{position:relative;height:200px;background:#EADADC}
.mm-pk-imgw img{display:block;width:100%;height:200px;object-fit:cover;object-position:50% 25%}
.mm-pk-tick{position:absolute;top:8px;left:8px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.9)}
.mm-pk-meta{padding:10px 12px 12px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.mm-pk-dl{flex:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #3A0F18}
.mm-pk-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;padding:14px 32px;border-top:1px solid #E6CFCF;background:#FFFFFF}
.mm-pk-go{min-height:48px;padding:0 24px;background:#8C1D33;color:#FFFFFF;font-size:14px;font-weight:500;letter-spacing:0.12em;text-transform:uppercase}
.mm-pk-go:disabled{background:#C9B3B8;cursor:default}
.mm-pk button:focus-visible,.mm-pk a:focus-visible{outline:2px solid #8C1D33;outline-offset:2px}
@media (max-width: 900px){
  .mm-pk-body{grid-template-columns:1fr}
  .mm-pk-bio{border-right:0;border-bottom:1px solid #E6CFCF}
}
@media (max-width: 600px){
  .mm-pk{width:100vw;max-height:100vh;height:100vh;margin:0}
  .mm-pk-in{max-height:100vh}
  .mm-pk-head,.mm-pk-col,.mm-pk-foot{padding-left:16px;padding-right:16px}
  .mm-pk-long{display:none}.mm-pk-short{display:inline}
  .mm-pk-prev{height:180px}
  .mm-pk-grid{grid-template-columns:1fr 1fr;gap:8px}
  .mm-pk-imgw,.mm-pk-imgw img{height:150px}
  .mm-pk-meta{flex-direction:column;align-items:flex-start;padding:8px 10px 10px}
  .mm-pk-meta p{font-size:13px !important}
  .mm-pk-go{width:100%}
}
/* Phones: in the hero player the time sits under the seek bar (right-aligned), so the title gets the full width */
@media (max-width: 600px){
  .mm-pl-big .mm-pl-row{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center}
  .mm-pl-big .mm-pl-btn{grid-row:1 / span 2}
  .mm-pl-big .mm-pl-time{grid-column:2;justify-self:end;margin-top:1px;font-size:12px;line-height:1.2}
}
