/* Fitness-Festival: bewusst auf eigene Klassen begrenzt. */
.fsv-festival, .fsv-festival-float {
    --festival-purple: #53006c;
    --festival-yellow: #ffe600;
    --festival-green: #599e15;
    font-family: 'Barlow', Arial, sans-serif;
    color: #242529;
    box-sizing: border-box;
}
.fsv-festival *, .fsv-festival-float * { box-sizing: border-box; }
.fsv-festival { overflow-wrap: anywhere; }
.fsv-festival .fsv-festival-inner {
    width: min(100%, 1208px);
    max-width: 1208px;
    margin-inline: auto !important;
    padding-inline: 24px;
}
.fsv-festival .wp-block-columns { gap: clamp(24px, 4vw, 64px) !important; margin: 0 !important; }
.fsv-festival .wp-block-column { min-width: 0; }
.fsv-festival p { line-height: 1.65; margin: 0 0 20px !important; }
.fsv-festival h1, .fsv-festival h2, .fsv-festival h3 {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif !important;
    font-weight: 800 !important;
    line-height: 1.06 !important;
    margin: 0 0 20px !important;
}
.fsv-festival .fsv-festival-label,
.fsv-festival .fsv-festival-eyebrow {
    font-size: .83rem !important;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--festival-purple) !important;
    margin-bottom: 12px !important;
}
.fsv-festival .fsv-festival-hero {
    background: var(--festival-purple);
    background-image: linear-gradient(118deg, #3c064b 0%, #53006c 70%, #65017f 100%);
    padding: clamp(44px, 6vw, 88px) 0;
    border-top: 8px solid var(--festival-yellow);
    color: #fff;
}
.fsv-festival .fsv-festival-hero .fsv-festival-eyebrow { color: var(--festival-yellow) !important; }
.fsv-festival .fsv-festival-title {
    font-size: clamp(3rem, 5.4vw, 5.1rem) !important;
    color: #fff !important;
    letter-spacing: -.025em !important;
    margin-bottom: 16px !important;
}
.fsv-festival .fsv-festival-tagline {
    color: var(--festival-yellow) !important;
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    font-weight: 700;
    margin-bottom: 20px !important;
}
.fsv-festival .fsv-festival-lead { font-size: 1.07rem; max-width: 550px; color: #fff !important; }
.fsv-festival .fsv-festival-smallprint { font-size: .82rem; color: #ead9ee !important; margin: 16px 0 0 !important; }
.fsv-festival .fsv-festival-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px !important;
    margin: 24px 0 0 !important;
}
.fsv-festival .fsv-festival-actions .wp-block-button { margin: 0 !important; max-width: 100%; }
.fsv-festival .fsv-festival-actions .wp-block-button__link {
    border-radius: 5px !important;
    padding: 13px 19px !important;
    font-family: 'Barlow', Arial, sans-serif !important;
    font-size: .92rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    border: 2px solid transparent !important;
    text-decoration: none !important;
    white-space: normal;
    min-height: 48px;
    transition: background-color .15s, box-shadow .15s !important;
}
.fsv-festival .fsv-festival-actions .fsv-festival-btn-yellow .wp-block-button__link { background: var(--festival-yellow) !important; color: #24152b !important; }
.fsv-festival .fsv-festival-actions .fsv-festival-btn-purple .wp-block-button__link { background: var(--festival-purple) !important; color: #fff !important; }
.fsv-festival .fsv-festival-actions .fsv-festival-btn-light .wp-block-button__link { background: transparent !important; color: #fff !important; border-color: #cdaed5 !important; }
.fsv-festival .fsv-festival-actions .fsv-festival-btn-outline .wp-block-button__link { background: transparent !important; color: var(--festival-purple) !important; border-color: var(--festival-purple) !important; }
.fsv-festival .fsv-festival-actions .wp-block-button__link:hover { transform: none !important; box-shadow: 0 0 0 3px #53006c22; }
.fsv-festival .fsv-festival-actions .fsv-festival-btn-yellow .wp-block-button__link:hover { background: #fff16b !important; }
.fsv-festival .fsv-festival-actions .fsv-festival-btn-purple .wp-block-button__link:hover { background: #39004b !important; }
.fsv-festival .fsv-festival-actions .fsv-festival-btn-light .wp-block-button__link:hover { background: #ffffff1a !important; }
.fsv-festival .fsv-festival-actions .fsv-festival-btn-outline .wp-block-button__link:hover { background: #53006c0d !important; }
.fsv-festival a:focus-visible, .fsv-festival-float a:focus-visible, .fsv-festival-float button:focus-visible {
    outline: 3px solid #0075d8 !important;
    outline-offset: 4px;
}
.fsv-festival .fsv-festival-datecard {
    background: #fff;
    color: #24152b;
    padding: 24px 22px 0;
    border-radius: 12px;
    box-shadow: 0 22px 50px #21002c55;
    max-width: 430px;
    margin-inline: auto !important;
    overflow: hidden;
    text-align: center;
}
/* Original-Flyer unverändert: Das Logo wird ausschließlich im Layout freigestellt. */
.fsv-festival-logo {
    display: block;
    width: 100%;
    aspect-ratio: 870 / 455;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
    background: #fff;
}
.fsv-festival-logo figure { margin: 0 !important; }
.fsv-festival-logo img {
    position: absolute !important;
    width: 124.138% !important;
    max-width: none !important;
    height: auto !important;
    left: -12.644% !important;
    top: -15.385% !important;
    border-radius: 0 !important;
    display: block;
}
.fsv-festival .fsv-festival-datecard__date {
    color: var(--festival-purple) !important;
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 4vw, 4rem) !important;
    line-height: .95 !important;
    margin: 24px 0 !important;
}
.fsv-festival .fsv-festival-datecard__date strong { font-size: 1.45em; }
.fsv-festival .fsv-festival-datecard__venue {
    background: var(--festival-yellow);
    color: #24152b !important;
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin: 0 -22px !important;
    padding: 15px 20px;
}
.fsv-festival .fsv-festival-facts { background: #f5f8ed; border-bottom: 1px solid #dce5cc; padding: 30px 0; }
.fsv-festival .fsv-festival-facts .wp-block-column + .wp-block-column { border-left: 1px solid #ccd7bc; padding-left: 30px; }
.fsv-festival .fsv-festival-facts h2 { font-size: clamp(1.25rem, 2vw, 1.7rem) !important; margin-bottom: 0 !important; color: #293522 !important; }
.fsv-festival .fsv-festival-facts .fsv-festival-label { font-size: .72rem !important; margin-bottom: 7px !important; }
.fsv-festival .fsv-festival-updates { padding: clamp(48px, 6vw, 80px) 0; background: #fff; }
.fsv-festival .fsv-festival-heading { font-size: clamp(2rem, 3.5vw, 3rem) !important; color: #293522 !important; }
.fsv-festival .fsv-festival-flyer { max-width: 380px; margin: 0 auto !important; }
.fsv-festival .fsv-festival-flyer img { display: block; height: auto; width: 100%; border: 1px solid #e1e5d9; border-radius: 8px; box-shadow: 0 12px 35px #26301f14; }
.fsv-festival .fsv-festival-flyer figcaption { color: #596451; font-size: .8rem; margin: 12px 0 0; }
.fsv-festival .fsv-festival-instagram { background: var(--festival-purple); color: #fff; padding: 26px; border-radius: 8px; margin-top: 28px !important; }
.fsv-festival .fsv-festival-instagram h3 { font-size: 1.7rem !important; color: #fff !important; margin-bottom: 12px !important; }
.fsv-festival .fsv-festival-instagram p { color: #fff !important; margin-bottom: 0 !important; }
.fsv-festival .fsv-festival-instagram .fsv-festival-actions { margin-top: 18px !important; }
.fsv-festival.fsv-festival-teaser { background: #f5f8ed; border-top: 6px solid var(--festival-yellow); border-bottom: 1px solid #dce5cc; padding: 40px 0; }
.fsv-festival-teaser .fsv-festival-logo { max-width: 330px; margin-inline: auto !important; }
.fsv-festival .fsv-festival-teaser__title { font-size: clamp(1.8rem, 3vw, 2.7rem) !important; color: var(--festival-purple) !important; margin-bottom: 12px !important; }
.fsv-festival-teaser p { margin-bottom: 12px !important; }
.fsv-festival-teaser .fsv-festival-actions { margin-top: 18px !important; }

/* Kadence-Seitenrahmen nur für Seiten mit dem Festival-Infoseiten-Pattern. */
body.fsv-festival-page-view .entry-header,
body.fsv-festival-page-view .entry-hero,
body.fsv-festival-page-view .page-hero-section,
body.fsv-festival-page-view #secondary { display: none; }
body.fsv-festival-page-view #primary { margin: 0 !important; padding: 0 !important; }
body.fsv-festival-page-view #primary .content-container { max-width: none; padding-inline: 0; display: block; }
body.fsv-festival-page-view #primary .content-wrap { display: block; }
body.fsv-festival-page-view #primary .entry-content-wrap { padding: 0; }
body.fsv-festival-page-view #primary .entry-content { margin: 0; }
body.fsv-festival-page-view #primary .entry-content > .fsv-festival-page { width: 100%; max-width: none; margin: 0 !important; }

.fsv-festival-float {
    position: fixed;
    z-index: 900;
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: calc(var(--fsv-festival-bottom, 104px) + env(safe-area-inset-bottom, 0px));
    width: 232px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid #e4dce8;
    border-top: 5px solid var(--festival-yellow);
    border-radius: 10px;
    box-shadow: 0 8px 32px #21002c2e;
}
.fsv-festival-float[hidden], .fsv-festival-float [hidden] { display: none !important; }
.fsv-festival-float .fsv-festival-float__link { display: block; padding: 15px 15px 0; text-decoration: none !important; color: var(--festival-purple) !important; border-radius: 8px; }
.fsv-festival-float .fsv-festival-float__image { display: block; margin-bottom: 10px; }
.fsv-festival-float__image:not(.fsv-festival-logo) img { width: 100%; height: 102px; object-fit: contain; }
.fsv-festival-float__title { display: block; font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 800; font-size: 1.12rem; line-height: 1.1; }
.fsv-festival-float__date { display: block; color: #384729; font-weight: 700; font-size: .9rem; margin: 6px 0 12px; }
.fsv-festival-float__cta { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: var(--festival-purple); color: #fff; margin: 0 -15px; padding: 13px 15px; font-size: .86rem; font-weight: 700; border-radius: 0 0 8px 8px; }
.fsv-festival-float__link:hover .fsv-festival-float__cta { background: #39004b; }
.fsv-festival-float .fsv-festival-float__close {
    position: absolute;
    top: -20px;
    right: -12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #d9c6df;
    border-radius: 50%;
    background: #fff;
    color: var(--festival-purple);
    font: 28px/1 Arial, sans-serif;
    cursor: pointer;
}
.fsv-festival-float .fsv-festival-float__close:hover { background: #f7f0f9; }
@media (max-width: 781px) {
    .fsv-festival .fsv-festival-hero__columns { gap: 32px !important; }
    .fsv-festival .fsv-festival-datecard { max-width: 350px; }
    .fsv-festival .fsv-festival-facts .wp-block-column + .wp-block-column { border-left: 0; padding-left: 0; }
    .fsv-festival .fsv-festival-facts .wp-block-columns { gap: 20px !important; }
    .fsv-festival .fsv-festival-updates .wp-block-columns { flex-direction: column-reverse; }
    .fsv-festival .fsv-festival-flyer { max-width: 320px; }
    .fsv-festival-teaser .fsv-festival-logo { max-width: 260px; }
}
@media (max-width: 600px), (max-height: 560px) {
    .fsv-festival-float { right: max(16px, env(safe-area-inset-right, 0px)); width: 250px; }
    .fsv-festival-float .fsv-festival-float__image { display: none; }
    .fsv-festival-float .fsv-festival-float__link { padding-top: 12px; }
    .fsv-festival-float__title { font-size: 1.1rem; padding-right: 16px; }
    .fsv-festival-float__date { margin: 5px 0 10px; font-size: .84rem; }
    .fsv-festival-float__cta { padding-block: 10px; font-size: .8rem; }
}
@media (max-width: 420px) {
    .fsv-festival .fsv-festival-inner { padding-inline: 20px; }
    .fsv-festival .fsv-festival-title { font-size: clamp(2.6rem, 12vw, 3rem) !important; }
    .fsv-festival .fsv-festival-instagram { padding: 20px; }
    .fsv-festival .fsv-festival-actions .wp-block-button,
    .fsv-festival .fsv-festival-actions .wp-block-button__link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .fsv-festival *, .fsv-festival-float * { transition: none !important; }
}
@media print {
    .fsv-festival-float { display: none !important; }
    .fsv-festival .fsv-festival-hero { background: #fff; color: #000; }
    .fsv-festival .fsv-festival-hero p,
    .fsv-festival .fsv-festival-hero .fsv-festival-title { color: #000 !important; }
}
