/* Most & Jazz Festival – Frontend Styles
   Designprinzipien:
   - Hintergründe transparent → Theme-Hintergrund schlägt durch (auch dark themes)
   - Schrift, Farbe, Schriftstärke werden vom Theme geerbt
   - Tagesfarbe (--mj-color) bleibt als gezielter Akzent
*/

.mj-program,
.mj-today,
.mj-sidevents,
.mj-festivals-list,
.mj-archive {
    max-width: 1100px;
    margin: 0 auto;
}

/* ============== TAG-NAVIGATION ============== */

.mj-program__nav {
    display: flex;
    justify-content: stretch;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 2rem;
    padding: 0;
    background: transparent;
    border: 0;
}

/* Tag-Buttons: füllen gemeinsam die volle Breite, jeweils ganz in Tagesfarbe */
.mj-day-link,
.mj-day-link:link,
.mj-day-link:visited {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: var(--mj-color, currentColor) !important;
    color: var(--mj-color-on, #000) !important;
    text-decoration: none !important;
    border: 0;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.3;
    transition: transform .12s, filter .15s;
}

.mj-day-link::before { display: none; }

.mj-day-link__weekday {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .9em;
    opacity: .82;
    color: var(--mj-color-on, #000) !important;
}

.mj-day-link__date {
    font-weight: 700;
    color: var(--mj-color-on, #000) !important;
}

.mj-day-link:hover,
.mj-day-link:focus {
    transform: translateY(-2px);
    filter: brightness(1.08);
    text-decoration: none !important;
    color: var(--mj-color-on, #000) !important;
}

@media (max-width: 720px) {
    .mj-day-link { flex: 1 1 40%; font-size: .9em; padding: .55rem .8rem; }
}

/* ============== BACK-TO-TOP UNTER JEDEM TAG ============== */

.mj-day__top {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mj-color, currentColor) 12%, transparent);
    color: var(--mj-color, currentColor) !important;
    text-decoration: none !important;
    font-size: .85em;
    font-weight: 600;
    line-height: 1.2;
    transition: opacity .15s, background .15s;
}

.mj-day__top:hover {
    background: var(--mj-color, currentColor);
    color: var(--mj-color-on, #fff) !important;
    text-decoration: none !important;
}

.mj-day__top svg {
    flex-shrink: 0;
}

/* ============== FADE-IN ANIMATION ============== */

.mj-fade-init {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease-out, transform .55s ease-out;
    will-change: opacity, transform;
}

.mj-fade-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .mj-fade-init,
    .mj-fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Smooth-Scroll-Offset (für Sticky-Header etc.) */
html { scroll-behavior: smooth; }
.mj-day { scroll-margin-top: 2rem; }
#mj-program-top { scroll-margin-top: 1rem; }

/* ============== FESTIVAL-HEADER ============== */

.mj-festival-header {
    text-align: center;
    margin: 0 0 2rem;
    padding: 1.5rem 0;
    border-bottom: 2px solid color-mix(in srgb, currentColor 12%, transparent);
}

.mj-festival-header__title {
    margin: 0;
    /* font-family / weight / size / color: vom Theme */
}

.mj-festival-header__year {
    opacity: .55;
    font-weight: inherit;
}

.mj-festival-header__motto {
    margin: .5rem 0 0;
    opacity: .75;
    font-style: italic;
}

/* ============== FESTIVAL-TAG ============== */

.mj-day {
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    border-radius: 6px;
    border-left: 6px solid var(--mj-color, currentColor);
    overflow: hidden;
    transition: opacity .3s, filter .3s;
}

.mj-day--past {
    opacity: 0.4;
    filter: grayscale(0.7);
}

.mj-day--today {
    border-left-width: 10px;
    background: color-mix(in srgb, var(--mj-color, currentColor) 6%, transparent);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

/* Tages-Kopfzeile: voller Streifen in Tagesfarbe (kein linker Strich) */
.mj-day__header {
    display: block !important;
    background: var(--mj-color, currentColor) !important;
    margin: -1.5rem -1.75rem 1.25rem !important;
    padding: .7rem 1.75rem !important;
    border-bottom: 0 !important;
    text-align: left !important; /* Theme mit text-align:center auf h2 abwehren */
}

.mj-day__title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mj-color-on, #000) !important;
    display: flex;
    align-items: baseline;
    gap: .65rem;
    flex-wrap: wrap;
    text-align: left !important;
}

.mj-day__title-text {
    /* font-size, font-weight: vom Theme h2 */
}

.mj-day__title-sub {
    font-size: .65em;
    font-weight: 400;
    opacity: .8;
    color: var(--mj-color-on, #000) !important;
}

/* linker Strich entfällt – Kopfzeile ist jetzt der farbige Streifen */
.mj-day__bar { display: none; }

/* === TICKETS-FOOTER (am Tagesende) === */

.mj-day__tickets {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    flex-wrap: wrap;
    margin: 1.25rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid color-mix(in srgb, var(--mj-color, currentColor) 25%, transparent);
}

.mj-day__prices {
    display: flex;
    gap: 1.5rem;
    font-size: 1em;
    line-height: 1.4;
    flex-wrap: wrap;
}

.mj-day__price {
    white-space: nowrap;
}

.mj-day__price-label {
    opacity: .65;
    margin-right: .4rem;
}

.mj-day__price strong {
    font-weight: 600;
}

.mj-day__buttons {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-left: auto; /* Buttons rechts wenn Platz */
}

/* === INTRO === */

.mj-day__intro {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid color-mix(in srgb, var(--mj-color, currentColor) 35%, transparent);
    background: color-mix(in srgb, var(--mj-color, currentColor) 4%, transparent);
    font-style: italic;
    opacity: .9;
}

.mj-day__intro p:last-child { margin-bottom: 0; }

/* === LINEUP-PENDING-Hinweis === */

.mj-day__pending {
    margin: 1rem 0 0;
    padding: 1rem 1.25rem;
    text-align: center;
    font-style: italic;
    font-size: 1.05em;
    opacity: .8;
    border: 1px dashed color-mix(in srgb, var(--mj-color, currentColor) 40%, transparent);
    border-radius: 6px;
    color: var(--mj-color, currentColor);
}

.mj-day__empty {
    opacity: .55;
    font-style: italic;
    padding: 1rem 0;
}

/* ============== ACT ============== */
/* Grid-Layout:
   - Title oben links (über Time/Loc/Foto, einzeilig)
   - Time + Location in der Sidebar darunter
   - Foto links + Beschreibung rechts auf gleicher Höhe (gewünscht!)
   - Credit + Pass unter dem Foto
   - Buttons rechts unten
*/
.mj-act {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas:
        "title    title"
        "time     ."
        "location ."
        "photo    desc"
        "pass     desc"
        ".        buttons";
    column-gap: 2rem;
    row-gap: 0;
    padding: .85rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--mj-color, currentColor) 35%, transparent);
}

.mj-act:last-child { border-bottom: 0; }

/* Grid-Area Zuweisungen – mit Reset gegen Theme-h3-Margins */
.mj-act .mj-act__title,
.mj-act h3.mj-act__title,
.entry-content .mj-act h3.mj-act__title {
    grid-area: title;
    margin: 0 0 .85rem !important;
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
    padding-block-start: 0 !important;
    color: var(--mj-color, currentColor);
    line-height: 1.05;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: -.01em;
}

.mj-act__time     { grid-area: time; }
.mj-act__location { grid-area: location; }
.mj-act__photo    { grid-area: photo; position: relative; }
.mj-act__pass     { grid-area: pass; }
.mj-act__desc     { grid-area: desc; }
.mj-act__buttons  { grid-area: buttons; }

/* Time + Location als kompakte Pills in Tagesfarbe mit weißer Schrift */
.mj-act__time,
.mj-act__location {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--mj-color, currentColor);
    color: var(--mj-color-on, #fff);
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .85em;
    font-weight: 600;
    line-height: 1.3;
    width: fit-content;
    margin-bottom: .35rem;
}

.mj-act__location { margin-bottom: .65rem; }

/* Pill-Schriftfarben: Theme-Link-Farben hart überschreiben */
.mj-act__time,
.mj-act__time *,
.mj-act__location,
.mj-act__location *,
a.mj-act__location,
a.mj-act__location:link,
a.mj-act__location:visited,
a.mj-act__location:hover,
a.mj-act__location:active,
a.mj-act__location:focus,
a.mj-act__location * {
    color: var(--mj-color-on, #fff) !important;
}

.mj-act__time .mj-icon,
.mj-act__location .mj-icon {
    color: var(--mj-color-on, #fff) !important;
    stroke: currentColor !important;
}

a.mj-act__location {
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity .15s;
}

a.mj-act__location:hover {
    opacity: .85;
}

a.mj-sidevent__loc {
    text-decoration: none !important;
    border-bottom: 1px dashed currentColor;
    cursor: pointer;
}

a.mj-sidevent__loc:hover { opacity: .85; }

.mj-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Foto */
.mj-act__photo {
    margin: 0;
    overflow: hidden;
    border: 2px solid var(--mj-color, currentColor);
    aspect-ratio: 1 / 1;
    transition: transform .25s ease, box-shadow .25s ease;
    width: 100%;
    align-self: start;
}

.mj-act__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mj-act__photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

/* Foto-Credit als dezente Bildunterschrift direkt am Foto (unten) */
.mj-act__credit,
.mj-sidevent__credit {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: .2rem .5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
    color: #fff;
    font-size: .72em;
    line-height: 1.2;
    font-style: italic;
    text-align: left;
    opacity: 1;
    pointer-events: none;
}

.mj-act__pass {
    margin-top: .65rem;
    line-height: 0;
    text-align: left;
}

.mj-pass-graphic {
    display: block;
    height: 2em;
    width: auto;
    max-width: 100%;
}

/* Beschreibung — gleichauf mit Foto-Top dank Grid */
.mj-act__desc {
    margin: 0 0 .8rem;
    opacity: .92;
    line-height: 1.55;
    align-self: start;
}

/* Bandmitglieder-Liste: in einer Zeile, bei Umbruch beginnt jeder
   neue Block mit "//" linksbündig (Flex-Wrap mit nowrap pro Eintrag). */
.mj-musicians {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: .15rem;
    margin-top: .85rem;
    font-size: .9em;
    line-height: 1.5;
    opacity: .85;
}

.mj-musician {
    white-space: nowrap;
    display: inline-block;
}

.mj-act__buttons {
    align-self: end;
    padding-top: .5rem;
}

.mj-act__desc p:last-child { margin-bottom: 0; }

.mj-act__buttons,
.mj-sidevent__buttons {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ============== BUTTONS ============== */

.mj-btn {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 4px;
    font-size: .9em;
    text-decoration: none !important;
    transition: opacity .2s, transform .1s, background .2s, color .2s;
    line-height: 1.2;
    border: 2px solid transparent;
}

.mj-btn--maps {
    background: color-mix(in srgb, currentColor 8%, transparent);
    color: inherit;
    border-color: color-mix(in srgb, currentColor 18%, transparent);
}

.mj-btn--tickets {
    background: var(--mj-color, currentColor);
    color: var(--mj-color-on, #fff) !important;
    border-color: var(--mj-color, currentColor);
    font-weight: 600;
}

.mj-btn--tickets:hover {
    background: var(--mj-color-on, #fff);
    color: var(--mj-color, currentColor) !important;
}

.mj-btn--link {
    background: transparent;
    color: inherit;
    border-color: color-mix(in srgb, currentColor 25%, transparent);
}

.mj-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

/* Großer Button-Style für Tagestickets */
.mj-btn--lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.15em;
    font-weight: 700;
    min-width: 200px;
    text-align: center;
    border-radius: 999px;  /* Pill-Shape */
}

/* ============== OETICKET-BUTTON ============== */

.mj-btn--oeticket {
    background: var(--mj-color, currentColor);
    border: 2px solid var(--mj-color, currentColor);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .85rem;
    color: var(--mj-color-on, #fff) !important;
    font-weight: 600;
}

.mj-oeticket-logo {
    display: inline-block;
    width: 4.5em;
    height: 1.2em;
    background-color: var(--mj-color-on, #fff);
    -webkit-mask-image: var(--mj-oeticket-mask);
            mask-image: var(--mj-oeticket-mask);
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    transition: background-color .2s;
}

.mj-btn--lg .mj-oeticket-logo {
    width: 5.5em;
    height: 1.4em;
}

.mj-btn--oeticket:hover {
    background: var(--mj-color-on, #fff);
    color: var(--mj-color, currentColor) !important;
}

.mj-btn--oeticket:hover .mj-oeticket-logo {
    background-color: var(--mj-color, currentColor);
}

.mj-oeticket-text { font-weight: 600; }

/* ============== BADGES ============== */

.mj-badge {
    display: inline-block;
    padding: .4rem .85rem;
    border-radius: 4px;
    font-size: .85em;
    font-weight: 600;
    line-height: 1.2;
}

.mj-badge--free {
    background: color-mix(in srgb, #2e7d32 18%, transparent);
    color: #4caf50;
    border: 1px solid color-mix(in srgb, #2e7d32 30%, transparent);
}

.mj-badge--entry {
    background: color-mix(in srgb, #cc6600 18%, transparent);
    color: #cc6600;
    border: 1px solid color-mix(in srgb, #cc6600 30%, transparent);
}

/* ============== SIDEEVENTS ============== */

.mj-sidevents__heading {
    margin: 2rem 0 1rem;
    /* font: vom Theme */
}

.mj-sidevents__heading--past {
    opacity: .55;
    margin-top: 3rem;
}

.mj-sidevents__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.1rem;
}

.mj-sidevents__list--past {
    opacity: .45;
    filter: grayscale(0.7);
}

.mj-sidevent {
    border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    border-radius: 8px;
    padding: 1.25rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mj-sidevent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .15);
}

.mj-sidevent__img {
    margin-bottom: .85rem;
    position: relative;
}

.mj-sidevent__img img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 3px solid #cc6600;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
}

.mj-sidevent__date {
    font-size: .95em;
    opacity: .85;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .4rem;
    font-weight: 600;
}

.mj-sidevent__title {
    margin: 0 0 .3rem;
    font-size: 1.85em;
    line-height: 1.12;
}

.mj-sidevent__band {
    opacity: .95;
    font-style: italic;
    font-size: 1.25em;
    margin-bottom: .6rem;
}

.mj-sidevent__loc {
    opacity: .95;
    font-size: 1.02em;
    line-height: 1.4;
    margin-bottom: .75rem;
}

.mj-sidevent__desc {
    margin-bottom: .75rem;
    opacity: 1;
    font-size: 1.02em;
    line-height: 1.5;
}

.mj-sidevent__desc p:last-child { margin-bottom: 0; }

/* SIDEEVENT-HERO */
.mj-sidevent--hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    padding: 2rem;
    border: 2px solid color-mix(in srgb, #cc6600 30%, transparent);
    border-radius: 8px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, .15);
    margin-bottom: 1.5rem;
}

.mj-sidevent--hero .mj-sidevent__title {
    font-size: 2.1em;
    line-height: 1.12;
    margin-bottom: .5rem;
}

.mj-sidevent--hero .mj-sidevent__date {
    font-size: 1.05em;
    margin-bottom: .5rem;
}

.mj-sidevent--hero .mj-sidevent__band {
    font-size: 1.3em;
}

.mj-sidevent--hero .mj-sidevent__img img {
    aspect-ratio: 4 / 3;
    border: 5px solid #cc6600;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
}

/* ============== TICKETS-ÜBERSICHT ============== */

.mj-tickets {
    max-width: 1100px;
    margin: 0 auto;
}

.mj-tickets__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.mj-ticket-card {
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-left: 6px solid var(--mj-color, #cc6600);
    border-radius: 6px;
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
}

.mj-ticket-card--past {
    opacity: .55;
    filter: grayscale(.6);
}

.mj-ticket-card--pass {
    border-left-width: 8px;
    background: color-mix(in srgb, var(--mj-color, #cc6600) 5%, transparent);
}

.mj-ticket-card__head {
    margin-bottom: .85rem;
}

.mj-ticket-card__title {
    margin: 0 !important;
    color: var(--mj-color, currentColor);
    line-height: 1.2;
    font-size: 1.15em;
}

.mj-ticket-card__sub {
    font-size: .85em;
    opacity: .7;
    margin-top: .2rem;
}

.mj-ticket-card__prices {
    margin: 0 0 1rem;
    font-size: .95em;
}

.mj-ticket-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: .35rem 0;
    border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.mj-ticket-card__row:last-child { border-bottom: 0; }

.mj-ticket-card__label {
    opacity: .65;
}

.mj-ticket-card__row strong {
    font-weight: 600;
    white-space: nowrap;
}

.mj-ticket-card .mj-btn,
.mj-ticket-card a.mj-btn--oeticket,
.mj-ticket-card a.mj-btn--tickets {
    margin-top: auto;
    text-align: center;
    align-self: stretch;
    justify-content: center;
}

.mj-ticket-card__past-note {
    margin-top: auto;
    text-align: center;
    font-size: .85em;
    opacity: .6;
    font-style: italic;
    padding: .5rem 0;
}

/* ============== ARCHIV (Akkordion) ============== */

.mj-archive {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px dashed color-mix(in srgb, currentColor 20%, transparent);
}

.mj-archive__heading {
    margin: 0 0 1rem;
    opacity: .6;
}

.mj-archive__item {
    margin: .5rem 0;
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 6px;
    overflow: hidden;
}

.mj-archive__item[open] {
    background: color-mix(in srgb, currentColor 3%, transparent);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
}

.mj-archive__summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    user-select: none;
    transition: background .2s;
}

.mj-archive__summary:hover {
    background: color-mix(in srgb, currentColor 6%, transparent);
}

.mj-archive__summary::-webkit-details-marker { display: none; }
.mj-archive__summary::marker { content: ''; }

.mj-archive__summary::before {
    content: "▸";
    opacity: .55;
    transition: transform .2s;
}

.mj-archive__item[open] .mj-archive__summary::before {
    transform: rotate(90deg);
    display: inline-block;
}

.mj-archive__year {
    font-weight: 700;
    font-size: 1.2em;
}

.mj-archive__title {
    opacity: .85;
}

.mj-archive__motto {
    font-style: italic;
    opacity: .65;
    font-size: .95em;
}

.mj-archive__body {
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.mj-archive__body .mj-day {
    opacity: .65;
    filter: grayscale(.5);
    margin: 1rem 0;
    padding: 1rem 1.25rem;
}

/* Im Archiv: kompakter, weniger Sekundär-Aktionen */
.mj-archive__body .mj-act {
    padding: .55rem 0;
}

.mj-archive__body .mj-act__buttons,
.mj-archive__body .mj-day__tickets {
    display: none;
}

.mj-archive__body .mj-act__desc {
    margin-bottom: .35rem;
    font-size: .92em;
}

.mj-archive__body .mj-day__intro {
    margin-bottom: .75rem;
    padding: .65rem .9rem;
    font-size: .92em;
}

/* ============== FESTIVAL-LIST (Übersichtskarten) ============== */

.mj-festivals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.mj-festival-card {
    border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    border-radius: 6px;
    overflow: hidden;
}

.mj-festival-card__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.mj-festival-card__body {
    padding: 1.25rem;
}

.mj-festival-card__year {
    font-size: 1.6em;
    font-weight: 700;
    color: #cc6600;
    line-height: 1;
    margin-bottom: .25rem;
}

.mj-festival-card__title {
    margin: 0 0 .35rem;
}

.mj-festival-card__motto {
    margin: 0;
    opacity: .75;
    font-style: italic;
}

/* ============== MOBILE ============== */

@media (max-width: 720px) {
    .mj-day { padding: 1.1rem 1rem; }
    .mj-day__title small { font-size: .7em; }
    .mj-day__ticket { width: 100%; text-align: center; margin-top: .5rem; }

    .mj-act {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "time"
            "location"
            "photo"
            "pass"
            "desc"
            "buttons";
        column-gap: 0;
    }
    .mj-act__photo {
        aspect-ratio: 16 / 9;
        border-width: 1px;
    }
    .mj-day__tickets { flex-direction: column; align-items: stretch; }
    .mj-day__buttons { width: 100%; }
    .mj-day__buttons .mj-btn { width: 100%; }
    .mj-sidevent__img img { border-width: 2px; }
    .mj-sidevent--hero .mj-sidevent__img img { border-width: 3px; }
    .mj-day__pricing { width: 100%; justify-content: space-between; }
    .mj-day__prices { text-align: left; }

    .mj-sidevent--hero {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }
    .mj-sidevent--hero .mj-sidevent__title { font-size: 1.3em; }

    .mj-sidevents__list { grid-template-columns: 1fr; }

    .mj-archive__summary { flex-wrap: wrap; gap: .35rem .75rem; }
}

/* ============================================================
   FIX 2026-07-04: Sichtbarkeit garantieren
   Die JS-Fade-Mechanik (opacity:0 via .mj-fade-init, Einblenden
   per IntersectionObserver) konnte Inhalte dauerhaft unsichtbar
   lassen, wenn der Observer nicht ausloeste. Inhalt hat Vorrang
   vor Animation -> immer sichtbar.
   ============================================================ */
.mj-fade-init { opacity: 1 !important; transform: none !important; }
