/* ═══════════════════════════════════════════
   THEATER ATOC – MAIN STYLESHEET
   ═══════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
    --red: #C62828;
    --red-dark: #8B1A1A;
    --blue: #2f54a8;
    --red-light: #E57373;
    --yellow: #FDD835;
    --yellow-dark: #f3ba00;
    --dark: #1A0A0A;
    --cream: #FFF8F0;
    --cream-dark: #F5E6D0;
    --pink: #F8D0D0;
    --pink-deep: #E8A0A0;
    --text: #2D1B1B;
    --text-light: #FFFFFF;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text);
    background: #e8ddd0;
    line-height: 1.6;
}

/* ─── SITE WRAPPER (max-width) ─── */
.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23e8d4bc' stroke-width='0.5'/%3E%3C/svg%3E") repeat,
        var(--cream);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: visible;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ─── ACCESSIBILITY ─── */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-branding .custom-logo {
    max-height: 42px;
    width: auto;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
}

.site-title span {
    color: var(--red);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    z-index: 200;
}

.main-navigation li {
    position: relative;
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
}

.main-navigation a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.2s;
}

.main-navigation a:hover {
    color: var(--red);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Kontakt-Button (letztes Menü-Item mit Klasse .menu-kontakt) */
.main-navigation .menu-item-kontakt > a,
.main-navigation .menu-item:last-child > a {
    display: inline-block;
    background: var(--yellow);
    color: #fff;
    padding: 8px 24px;
    border-radius: 24px;
    font-weight: 700;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: color 0.4s, transform 0.2s;
}

.main-navigation .menu-item-kontakt > a:hover,
.main-navigation .menu-item:last-child > a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

/* Roter Vorhang – linke Hälfte */
.main-navigation .menu-item-kontakt > a::before,
.main-navigation .menu-item:last-child > a::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 55%;
    background: var(--red);
    z-index: -1;
    transition: width 0.6s ease;
    transform: skewX(-3deg);
}

/* Roter Vorhang – rechte Hälfte */
.main-navigation .menu-item-kontakt > a::after,
.main-navigation .menu-item:last-child > a::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: 55%;
    height: auto;
    background: var(--red);
    z-index: -1;
    transition: width 0.6s ease;
    transform: skewX(3deg);
}

/* Hover: Vorhang geht auf */
.main-navigation .menu-item-kontakt > a:hover::before,
.main-navigation .menu-item:last-child > a:hover::before,
.main-navigation .menu-item-kontakt > a:hover::after,
.main-navigation .menu-item:last-child > a:hover::after {
    width: 0;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ═══════════════════════════════════════════
   BUTTONS  (Wachsmalstift-Stil)
   Nur zwei Varianten: schwarz + gelb
   ═══════════════════════════════════════════ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    border-radius: 24px;
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 0;
    transition: transform 0.25s;
    overflow: hidden;
}

/* Vorhang-Effekt: linker Vorhang */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background: var(--red);
    z-index: -1;
    transition: width 0.6s ease;
    transform: skewX(-3deg);
}

/* Vorhang-Effekt: rechter Vorhang */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 0;
    background: var(--red);
    z-index: -1;
    transition: width 0.6s ease;
    transform: skewX(3deg);
}

.btn:hover::before,
.btn:hover::after {
    width: 55%;
}

/* ── Schwarz mit weißer Schrift ── */
.btn-dark {
    color: var(--text-light);
    background: var(--blue);
    transition: transform 0.25s, color 0.3s;
}

/* ── Gelb mit schwarzer Schrift ── */
.btn-yellow, .btn-blue {
    color: var(--text);
    background: var(--yellow-dark);
    transition: transform 0.25s, color 0.3s;
}

.btn-blue{
    background: var(--blue);
    color:var(--text-light);
}

.btn-yellow:hover, .btn-blue:hover {
    color: white;
}

/* ── Kleiner Button (Karten) ── */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    margin-top: 16px;
}

/* ═══════════════════════════════════════════
   HERO SECTION  (Dual-Image Layout)
   Links: festes Theme-Bild
   Rechts: Customizer-Bild vom User
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 60px 40px 72px;
    overflow: hidden;
    background: var(--dark);
}

/* Festes Theme-Bild (füllt gesamten Hero, liegt unten) */
.hero-bg-base {
    position: absolute;
    inset: 0;
    background: url('../img/header-bg.jpg') center / cover no-repeat;
    z-index: 0;
}

/* Customizer-Bild (rechte 2/3, mit unregelmäßigem Verlauf nach links) */
.hero-bg-user {
    position: absolute;
    inset: 0;
    width: 77%;
    background-size: cover;
    background-position: right center;
    z-index: 1;
    -webkit-mask-image: url('../img/hero-blend-mask-alt.svg?v=2');
    mask-image: url('../img/hero-blend-mask-alt.svg?v=2');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    right: 0;
    left: auto;
    background-repeat: no-repeat;
}

/* Confetti */
.hero-confetti {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 16px;
    border-radius: 2px;
    opacity: 0;
    top: -5%;
    animation: confetti-fall linear infinite;
    animation-fill-mode: backwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 480px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.05;
    margin-bottom: 20px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Poster-Fächer (überlappt Hero/Intro-Grenze) */
.hero-posters-wrapper {
    position: relative;
    height: 0;
    z-index: 5;
    pointer-events: none;
}

.hero-posters {
    position: absolute;
    right: -25px;
    bottom: 40px;
    transform: translateY(50%);
    display: flex;
    gap: 0;
    pointer-events: auto;
}

.hero-poster-item {
    width: 150px;
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.hero-poster-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster-item:nth-child(1) {
    transform: rotate(-8deg);
    z-index: 1;
}

.hero-poster-item:nth-child(2) {
    transform: rotate(3deg) translateY(-30px);
    margin-left: -30px;
    z-index: 2;
}

.hero-poster-item:nth-child(3) {
    transform: rotate(6deg);
    margin-left: -30px;
    z-index: 1;
}

.hero-poster-item:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

/* Badge */
.hero-badge {
    position: absolute;
    right: 50px;
    padding:15px;
    top: 50px;
    z-index: 4;
    background: var(--yellow);
    color: var(--text);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3);
    animation: badge-bounce 3s ease-in-out infinite;
}

@keyframes badge-bounce {
    0%, 100% { transform: rotate(5deg) scale(1); }
    50% { transform: rotate(13deg) scale(1.05); }
}

/* ═══════════════════════════════════════════
   INTRO / ABOUT SECTION
   ═══════════════════════════════════════════ */
.intro {
    display: grid;
    grid-template-columns: minmax(0, 480px) 1fr;
    gap: 0;
    padding: 40px 40px;
    background: linear-gradient(180deg, rgba(255,248,240,0.55) 0%, rgba(245,230,208,0.55) 100%);
    align-items: start;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4A3030;
    margin-bottom: 28px;
}

.intro-text p strong {
    font-weight: 700;
    color: var(--text);
}

.intro-buttons {
    display: flex;
    gap: 14px;
}

.intro-images {
    position: relative;
    z-index:6;
    min-height: 280px;
}

.intro-img {
    position: absolute;
    border-radius: 25px;
    border: 5px solid antiquewhite;
    overflow: hidden;
    width: 250px;
    height: 180px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    background: linear-gradient(135deg, #5D4037, #8D6E63);
}


/* Bild 1 – oben rechts, leicht gedreht */
.intro-img:nth-child(1) {
    bottom: -80px;
    right: 300px;
    transform: rotate(5deg);
}

.intro-img:nth-child(1):hover {
    transform: rotate(5deg) scale(1.05);
}

/* Bild 2 – mittig links, gegengedreht */
.intro-img:nth-child(2) {
    bottom: -30px;
    right: 55px;
    transform: rotate(-15deg);
}

.intro-img:nth-child(2):hover {
    transform: rotate(-15deg) scale(1.05);
}


/* Bild 3 – unten mittig, leicht gedreht */
.intro-img:nth-child(3) {
    bottom: -180px;
    right: 90px;
    transform: rotate(15deg);
}

.intro-img:nth-child(3):hover {
    transform: rotate(15deg) scale(1.05);
}

.intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ═══════════════════════════════════════════
   MITMACHEN SECTION
   ═══════════════════════════════════════════ */
.mitmachen {
    padding: 1px 40px;
    padding-top: 50px;
    text-align: center;
    background: rgb(241 218 192 / 55%);
    position: relative;
}

.mitmachen-header {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 50px;
    padding-left: 40px;
    text-align: left;
}

.mitmachen-megafon {
 position: relative;
    width: 150px;
    height: auto;
    margin-bottom: -4px;
    flex-shrink: 0;
    margin-top: -100px;
    top: 36px;
}

.mitmachen h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text);
}

.mitmachen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0 auto 48px;
    align-items: start;
}

.mitmachen-card {
    background: transparent;
    border-radius: 0;
    padding: 36px 28px;
    text-align: left;
    position: relative;
    transition: transform 0.3s;
    border: none;
    z-index: 0;

    background-color: var(--cream);
    border: 5px solid var(--cream);
    border-radius: 25px;box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;

}

/* Paint-Hintergrund: Canvas wird direkt per JS eingefügt */
.mitmachen-card-bg {
    position: absolute;
    inset: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    z-index: -1;
    pointer-events: none;
    filter: url(#crayon-card);
}

.mitmachen-card:nth-child(1) .mitmachen-card-bg { transform: rotate(-0.6deg); }
.mitmachen-card:nth-child(2) .mitmachen-card-bg { transform: rotate(2.5deg); }
.mitmachen-card:nth-child(3) .mitmachen-card-bg { transform: rotate(-1.8deg); }

.mitmachen-card:hover {
    transform: translateY(-6px);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.mitmachen-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.mitmachen-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5A3A3A;
}

/* ═══════════════════════════════════════════
   NÄCHSTE SHOW
   ═══════════════════════════════════════════ */
.next-show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: url('../img/header-bg-1200.jpg') center / cover no-repeat;
}

.next-show-text {
    padding: 56px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.next-show-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 16px;
}

.next-show-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 28px;
}

.next-show-poster {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-show-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(198, 40, 40, 0.3) 0%, transparent 70%);
}

.next-show-poster-img {
    position: absolute;
    top: -20px;
    bottom: -20px;
    right: 100px;
    z-index: 1;
    height: calc(100% + 40px);
    width: auto;
    border-radius: 8px;
    box-shadow: 8px 12px 40px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.next-show-poster-img:hover {
    transform: rotate(0deg) scale(1.03);
}

/* ═══════════════════════════════════════════
   WIDGET: BEFORE FOOTER
   ═══════════════════════════════════════════ */
.before-footer-widgets {
    padding: 60px 40px;
    background: var(--cream);
}

.before-footer-widgets .widget {
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 40px;
}

.footer-inner {
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--red-light);
}

/* Footer Navigation */
.footer-navigation ul {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: white;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-navigation a:hover {
    color: #fff;
}

/* Footer Widgets */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
    text-align: left;
}

.footer-widgets .widget-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-widgets .widget {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-widgets .widget a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-widgets .widget a:hover {
    color: var(--yellow);
}

/* Social Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 1;
}

.footer-social-link:hover {
    transform: translateY(-2px);
}

.footer-social-link img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-copy {
    font-size: 0.85rem;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════
   WORDPRESS DEFAULTS
   ═══════════════════════════════════════════ */

/* Alignments */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

/* Captions */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.5em;
}

/* Gallery */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    gap: 8px;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Content pages */
.site-content {
    min-height: 60vh;
}

/* Raster auf Standard-Unterseiten blasser */
body.page .site-wrapper {
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23e8d4bc' stroke-width='0.5' stroke-opacity='0.4'/%3E%3C/svg%3E") repeat,
        var(--cream);
}

body.post-type-archive-auffuehrung .site-wrapper {
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23e8d4bc' stroke-width='0.5' stroke-opacity='0.4'/%3E%3C/svg%3E") repeat,
        var(--cream);
}

.page-content,
.entry-content {
    //max-width: 800px;
    margin: 0 auto;
    padding:  40px;
}

/* Regulärer Abstand oben, wenn erstes Element kein Full-Width-Block ist */
.entry-content > :first-child {
    margin-top: 60px;
}

/* Kein Abstand oben, wenn ein Full-Width-Block das erste Element ist */
.entry-content > .is-style-bg-cream:first-child,
.entry-content > .is-style-bg-warm:first-child,
.entry-content > .is-style-bg-dunkel:first-child,
.entry-content > .show-cast-section:first-child,
.entry-content > .show-dates-section:first-child,
.entry-content > .show-facts-section:first-child,
.entry-content > .show-videos-section:first-child,
.entry-content > .participant-slider-section:first-child {
    margin-top: 0;
}

.entry-content p {
    margin-bottom: 1.5em;
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 2em 0 0.8em;
    color: var(--text);
}

.entry-content h2:first-child{
    margin-top:0;
}

.entry-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 1.5em 0 0.6em;
    color: var(--text);
}

.entry-content .wp-block-image img,
.entry-content > p > img,
.entry-content > img {
    border-radius: 12px;
    border:5px solid white;
    box-shadow: 8px 12px 40px rgba(0, 0, 0, 0.25);
    transform: rotate(1.5deg);
    transition: transform 0.3s;
}

.entry-content .wp-block-image img:hover,
.entry-content > p > img:hover,
.entry-content > img:hover {
    transform: rotate(0deg) scale(1.02);
}

.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, #2A0E0E 100%);
    padding: 80px 40px 60px;
    text-align: center;
}

.page-header a{
    color: var(--yellow);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-light);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 12px auto 0;
    line-height: 1.6;
}

.entry-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.5em;
}

.entry-meta {
    color: #8A6A6A;
    font-size: 0.9rem;
    margin-bottom: 2em;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 40px 48px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination .page-numbers.current {
    background: var(--red);
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--cream-dark);
}

/* Comments */
.comments-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 48px 60px;
}


/* ═══════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════ */
.error-404-content {
    text-align: center;
    padding: 100px 48px;
}

.error-404-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 16px;
}

.error-404-content p {
    font-size: 1.1rem;
    color: #5A3A3A;
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1150px) {
    .intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-images {
        position: relative;
        min-height: 300px;
    }

    .intro-text h2{
        max-width:calc(100% - 350px);
    }

    .intro-img:nth-child(1) {
        bottom: auto;
        top: 0;
        left: 0;
        right: auto;
    }

    .intro-img:nth-child(2) {
        bottom: auto;
        top: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%) rotate(-15deg);
    }

    .intro-img:nth-child(2):hover {
        transform: translateX(-50%) rotate(-15deg) scale(1.05);
    }

    .intro-img:nth-child(3) {
        bottom: auto;
        top: 60px;
        right: 0;
        left: auto;
    }

    .mitmachen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .hero-posters-wrapper {
        display: none;
    }

    .hero-badge {
        right: 32px;
        bottom: 40px;
    }

     .intro-text h2{
        max-width:100%;
    }

}

@media (max-width: 811px) {
    .next-show {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .next-show-text {
        padding: 48px 24px;
    }

    .next-show-poster {
        height: 250px;
        min-height: auto;
        display: flex;
        justify-content: center;
    }

    .next-show-poster-img {
        position: relative;
        top: 100px;
        bottom: auto;
        right: auto;
        width: 60%;
        max-width:330px;
        height: auto;
        transform: rotate(2deg);
        transition: transform 0.5s ease;
    }

    .next-show-poster-img:hover,
    .next-show-poster-img.is-revealed {
        transform: rotate(2deg) translateY(-40%);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 14px 20px;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        z-index: 105;
        align-items: center;
        justify-content: center;
    }

    .main-navigation.toggled {
        display: flex;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        padding: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 50vh;
        padding: 40px 24px 60px;
    }

    .hero-bg-user {
        width: 100%;
        -webkit-mask-image: url('../img/hero-blend-mask-v.svg');
        mask-image: url('../img/hero-blend-mask-v.svg');
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-badge {
        display: none;
    }

    .intro {
        padding: 48px 24px;
    }

    .intro-images {
        position: relative;
        min-height: auto;
        height: auto;
        aspect-ratio: 16 / 9;
        width: 100%;
    }

    .intro-img,
    .intro-img:nth-child(1),
    .intro-img:nth-child(2),
    .intro-img:nth-child(3) {
        position: absolute;
        width: 60%;
        height: auto;
        aspect-ratio: 250 / 180;
        cursor: pointer;
        transition: transform 0.3s;
    }

    .intro-img:nth-child(1) {
        left: 0;
        top: 20%;
        transform: rotate(-3deg);
        z-index: 1;
    }

    .intro-img:nth-child(2) {
        left: 50%;
        top: 0;
        transform: translateX(-50%) rotate(2deg);
        z-index: 3;
    }

    .intro-img:nth-child(3) {
        right: 0;
        left: auto;
        top: 20%;
        transform: rotate(3deg);
        z-index: 1;
    }

    .intro-img:nth-child(1):hover {
        transform: rotate(-5deg);
    }

    .intro-img:nth-child(2):hover {
        transform: translateX(-50%) rotate(4deg);
    }

    .intro-img:nth-child(3):hover {
        transform: rotate(5deg);
    }

    .intro-img.is-front {
        z-index: 10 !important;
    }

    .mitmachen {
        padding: 48px 24px;
    }

    .mitmachen-header {
        position: relative;
        padding-left: 28px;
    }

    .mitmachen-header h2{
        max-width:90%;
        max-width:calc(100% - 100px);
    }

    .mitmachen-megafon {
        position: absolute;
        width: 85px;
        top: -23px;
        right: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .mitmachen-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }


    .next-show {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .next-show-text {
        padding: 48px 24px;
    }

    .next-show-poster {
        height: 250px;
        min-height: auto;
        display: flex;
        justify-content: center;
    }

    .next-show-poster-img {
        position: relative;
        top: 100px;
        bottom: auto;
        right: auto;
        width: 60%;
        max-width: 310px;
        height: auto;
        transform: rotate(2deg);
        transition: transform 0.5s ease;
    }

    .next-show-poster-img:hover,
    .next-show-poster-img.is-revealed {
        transform: rotate(2deg) translateY(-40%);
    }

    .page-content,
    .entry-content {
        padding: 40px 24px;
    }

    .page-header {
        padding: 60px 24px 40px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .footer-inner {
        padding: 0;
    }

    .site-footer {
        padding: 36px 24px;
    }
}


/* ═══════════════════════════════════════════
   AUFFÜHRUNG – SINGLE TEMPLATE
   ═══════════════════════════════════════════ */

/* ── Hero Header: Nutzt die gleichen Klassen wie die Startseite (.hero) ──
   Der Show-Hero erbt hero, hero-bg-base, hero-bg-user, hero-content,
   hero-title und hero-subtitle. Nur minimale Overrides nötig. */
.show-hero .hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
}

.show-hero .hero-subtitle {
    margin-bottom: 0;
}

/* ── Intro: Info (links) + Plakat (rechts) ── */
.show-intro {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding: 56px 40px;
    align-items: start;
    overflow: visible;
    background: linear-gradient(180deg, rgba(255,248,240,0.55) 0%, rgba(245,230,208,0.55) 100%);
}

.show-poster-wrap {
    position: relative;
    margin-top: -120px;
    margin-right: -24px;
    z-index: 6;
}

.show-poster-fig {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 8px 12px 40px rgba(0, 0, 0, 0.25);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.show-poster-fig:hover {
    transform: rotate(0deg) scale(1.02);
}

.show-poster-fig img {
    width: 100%;
    height: auto;
    display: block;
}

.show-info-wrap {
    min-width: 0;
}

.show-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4A3030;
    margin-bottom: 32px;
}

.show-description p {
    margin-bottom: 1.2em;
}

.show-description p:last-child {
    margin-bottom: 0;
}

/* Quick-Info: Kleine Boxen nebeneinander */
.show-quickinfo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.show-quickinfo-box {
    border: 2px solid var(--yellow-dark);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.show-quickinfo-box strong {
    font-size: 0.85rem;
    color: var(--text);
}

.show-quickinfo-box span:last-child {
    color: #5A3A3A;
}

.show-quickinfo-link {
    color: var(--red);
    font-weight: 700;
}

/* ── Section Headings ── */
.show-section {
    padding: 0 40px 56px;
}

.show-dates-section {
    background: rgb(241 218 192 / 55%);
    padding-top: 56px;
}

.show-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 28px;
}

/* ── Fakten (Ticket-Stubs) ── */
.show-facts-section {
    padding-top: 20px;
    padding-bottom: 64px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.show-facts-tickets {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 24px;
    justify-content: flex-start;
    padding: 0;
}

.show-ticket {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 210px;
    min-height: 88px;
    padding: 20px 48px 20px 20px;
    background: #4868b2;
    text-align: left;
    transition: transform 0.3s, filter 0.3s;
    filter: drop-shadow(2px 3px 6px rgba(0, 0, 0, 0.15));
    /* Scalloped perforation edges top & bottom */
    -webkit-mask-image:
        radial-gradient(circle 4px at 5px 0, transparent 97%, black),
        radial-gradient(circle 4px at 5px 100%, transparent 97%, black);
    -webkit-mask-size: 10px 100%;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(circle 4px at 5px 0, transparent 97%, black),
        radial-gradient(circle 4px at 5px 100%, transparent 97%, black);
    mask-size: 10px 100%;
    mask-repeat: repeat-x;
    mask-composite: intersect;
}

/* Leichte zufällige Rotation + Farbvariation pro Ticket */
.show-ticket:nth-child(6n+1) { transform: rotate(-2deg);  background: var(--blue); }
.show-ticket:nth-child(6n+2) { transform: rotate(1.5deg); background: var(--red); }
.show-ticket:nth-child(6n+3) { transform: rotate(-0.8deg); background: var(--red-dark); }
.show-ticket:nth-child(6n+4) { transform: rotate(2.2deg); background: var(--yellow-dark); }
.show-ticket:nth-child(6n+5) { transform: rotate(-1.4deg); background: var(--blue); }
.show-ticket:nth-child(6n+6) { transform: rotate(0.6deg); background: var(--red); }

.show-ticket:hover {
    transform: rotate(0deg) translateY(-4px) !important;
    filter: drop-shadow(4px 8px 16px rgba(0, 0, 0, 0.22));
}

/* Stub / Abriss-Bereich (rechts) */
.show-ticket-punch {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-left: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

.show-ticket-punch::after {
    content: '\2605';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

.show-ticket::before,
.show-ticket::after {
    display: none;
}

/* Gelbes Ticket: dunkle Schrift für Lesbarkeit */
.show-ticket:nth-child(6n+4) .show-ticket-value { color: var(--dark); }
.show-ticket:nth-child(6n+4) .show-ticket-label { color: rgba(26, 10, 10, 0.7); }
.show-ticket:nth-child(6n+4) .show-ticket-punch { border-left-color: rgba(0, 0, 0, 0.2); }
.show-ticket:nth-child(6n+4) .show-ticket-punch::after { color: rgba(0, 0, 0, 0.2); }

.show-ticket-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.show-ticket-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2px;
}

/* ── Termine ── */
.show-dates-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Termine immer einspältig */

.show-date-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    border-left: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.show-date-row:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.show-date-row.is-premiere {
    //background: linear-gradient(135deg, #FFFDE7 0%, #fff 100%);
}

.show-date-row.is-past {
    opacity: 1;
}

.show-date-cal {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    line-height: 1.1;
}

.show-date-day {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--red);
}

.show-date-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
}

.show-date-year {
    display: block;
    font-size: 0.7rem;
    color: #8A6A6A;
}

.show-date-info {
    flex: 1;
    min-width: 0;
}

.show-date-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
}

.show-date-location {
    font-size: 0.9rem;
    color: #5A3A3A;
    margin-right: 12px;
}

.show-date-time {
    font-size: 0.9rem;
    color: #5A3A3A;
    margin-right: 12px;
}

.show-date-note {
    display: inline-block;
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    background: rgba(198, 40, 40, 0.08);
    padding: 2px 10px;
    border-radius: 8px;
}

.show-date-action {
    flex-shrink: 0;
}

.show-date-past-label {
    font-size: 0.8rem;
    color: #8A6A6A;
    font-style: italic;
}

/* ── Sektionen-Wrapper mit Foto-Overlay ── */
.show-sections-wrap {
    position: relative;
}

/* ── Foto-Overlay (schwebt rechts über den Sektionen) ── */
.show-photos-overlay {
    position: absolute;
    top: 20px;
    right: 32px;
    width: 300px;
    z-index: 5;
    pointer-events: none;
}

.show-gallery-scatter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: sticky;
    top: 20px;
}

.show-gallery-photo {
    display: block;
    width: 260px;
    height: 185px;
    border-radius: 25px;
    border: 5px solid antiquewhite;
    overflow: hidden;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: -18px;
    position: relative;
    pointer-events: auto;
}

.show-gallery-photo:first-child {
    margin-top: 0;
}

.show-gallery-photo:nth-child(6n+1) { transform: rotate(4deg);  z-index: 1; margin-left: -15px; }
.show-gallery-photo:nth-child(6n+2) { transform: rotate(-3deg); z-index: 2; margin-left: 20px;  }
.show-gallery-photo:nth-child(6n+3) { transform: rotate(5deg);  z-index: 3; margin-left: -10px; }
.show-gallery-photo:nth-child(6n+4) { transform: rotate(-5deg); z-index: 4; margin-left: 15px;  }
.show-gallery-photo:nth-child(6n+5) { transform: rotate(2deg);  z-index: 5; margin-left: -20px; }
.show-gallery-photo:nth-child(6n+6) { transform: rotate(-4deg); z-index: 6; margin-left: 10px;  }

.show-gallery-photo:hover {
    z-index: 10;
    box-shadow: 6px 8px 30px rgba(0, 0, 0, 0.25);
}

.show-gallery-photo:nth-child(6n+1):hover { transform: rotate(4deg) scale(1.08); }
.show-gallery-photo:nth-child(6n+2):hover { transform: rotate(-3deg) scale(1.08); }
.show-gallery-photo:nth-child(6n+3):hover { transform: rotate(5deg) scale(1.08); }
.show-gallery-photo:nth-child(6n+4):hover { transform: rotate(-5deg) scale(1.08); }
.show-gallery-photo:nth-child(6n+5):hover { transform: rotate(2deg) scale(1.08); }
.show-gallery-photo:nth-child(6n+6):hover { transform: rotate(-4deg) scale(1.08); }

.show-gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sektionen-Inhalt lässt rechts Platz für Fotos */
.show-sections-wrap.has-gallery .show-section {
    padding-right: 340px;
}

/* ── Besetzung ── */
.show-cast-section {
    background: linear-gradient(135deg, var(--dark) 0%, #2A0E0E 80%, #3A1515 100%);
    padding-top: 56px;
    padding-bottom: 80px;
}

.show-cast-section .show-section-title {
    color: var(--cream);
}

.show-cast-table {
    width: 100%;
    max-width: 640px;
    border-collapse: separate;
    border-spacing: 0 4px;
}

.show-cast-row {
    transition: background 0.2s;
}

.show-cast-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.show-cast-row td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 248, 240, 0.1);
    vertical-align: baseline;
}

.show-cast-row:last-child td {
    border-bottom: none;
}

.show-cast-role {
    font-size: 0.85rem;
    color: rgba(255, 248, 240, 0.55);
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    width: 1%;
    padding-right: 32px;
}

.show-cast-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cream);
}

/* ── Videos ── */
.show-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.show-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.show-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.yt-consent-placeholder {
    position: absolute;
    inset: 0;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-consent-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    max-width: 320px;
}

.yt-consent-icon {
    width: 52px;
    height: auto;
    opacity: 0.85;
}

.yt-consent-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.55;
    margin: 0;
}

.yt-consent-btn {
    background: #FF0000;
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.yt-consent-btn:hover,
.yt-consent-btn:focus-visible {
    background: #cc0000;
}

/* ── Post Navigation ── */
.show-single .post-navigation {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
}

.post-navigation .nav-links{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 25px 50px;
    background: rgba(255,255,255,0.5);
}

/* Nächstes (neuer) links, Vorheriges (älter) rechts */
.post-navigation .nav-previous {
    margin-left: auto;
    text-align: right;
}

.post-navigation .nav-links a {
    text-decoration: none;
}

.post-navigation .nav-title {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    color: var(--text);
}


/* ═══════════════════════════════════════════
   AUFFÜHRUNG – ARCHIV TEMPLATE
   ═══════════════════════════════════════════ */

.page-header-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    font-weight: 400;
}

.show-archive-wrap {
    padding: 48px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 2 Karten nebeneinander */
.show-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
}

.show-archive-card {
    position: relative;
}

/* Plakat links, weiße Box rechts daneben */
.show-archive-card-link {
    display: flex;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
}

/* ─ Plakat: klein, vollständig, schief ─ */
.show-archive-poster {
    flex-shrink: 0;
    width: 130px;
    z-index: 2;
    box-shadow: 3px 5px 14px rgba(0, 0, 0, 0.18);
}

.show-archive-poster img {
    display: block;
    width: 100%;
    height: auto;
}

.show-archive-card:hover .show-archive-poster {
    filter: drop-shadow(3px 6px 16px rgba(0, 0, 0, 0.25));
}

article.auffuehrung {
    background: transparent;
}

.show-archive-poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--yellow);
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
    padding: 12px;
}

/* ─ Weiße Info-Box: rechts neben dem Plakat ─ */
.show-archive-card-body {
    background: #fff;
    padding: 18px 20px;   
    padding-left: 35px;
    margin-left: -10px;
    margin-top: 16px;
    flex: 1;
    min-width: 0;
    box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.08);
}

.show-archive-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.show-archive-meta {
    font-size: 0.85rem;
    color: #5A3A3A;
    margin-bottom: 10px;
}

.show-archive-excerpt {
    font-size: 0.88rem;
    color: #5A3A3A;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* ─ Jede Karte leicht anders gedreht ─ */
.show-archive-card:nth-child(6n+1) .show-archive-poster { transform: rotate(-2.5deg); }
.show-archive-card:nth-child(6n+2) .show-archive-poster { transform: rotate(1.8deg); }
.show-archive-card:nth-child(6n+3) .show-archive-poster { transform: rotate(-1.2deg); }
.show-archive-card:nth-child(6n+4) .show-archive-poster { transform: rotate(2.8deg); }
.show-archive-card:nth-child(6n+5) .show-archive-poster { transform: rotate(-1.8deg); }
.show-archive-card:nth-child(6n+6) .show-archive-poster { transform: rotate(1.2deg); }

/* Info-Box Höhenversatz variiert leicht */
.show-archive-card:nth-child(6n+1) .show-archive-card-body { margin-top: 12px; }
.show-archive-card:nth-child(6n+2) .show-archive-card-body { margin-top: 22px; }
.show-archive-card:nth-child(6n+3) .show-archive-card-body { margin-top: 8px; }
.show-archive-card:nth-child(6n+4) .show-archive-card-body { margin-top: 18px; }
.show-archive-card:nth-child(6n+5) .show-archive-card-body { margin-top: 14px; }
.show-archive-card:nth-child(6n+6) .show-archive-card-body { margin-top: 24px; }


/* ═══════════════════════════════════════════
   AUFFÜHRUNG – RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .show-intro {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 24px;
    }

    .show-poster-wrap {
        order: -1;
        max-width: 220px;
        margin: 0 auto;
        margin-top: -80px;
    }

    .show-quickinfo {
        grid-template-columns: 1fr;
    }

    .show-poster-fig {
        transform: rotate(0deg);
    }

    .show-section {
        padding: 0 24px 40px;
    }

    .show-facts-tickets {
        gap: 20px 16px;
    }

    .show-ticket {
        width: 180px;
        min-height: 78px;
        padding: 16px 42px 16px 14px;
    }

    .show-ticket-punch {
        width: 30px;
    }

    .show-ticket-value {
        font-size: 1.5rem;
    }

    .show-date-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .show-date-action {
        width: 100%;
    }

    .show-photos-overlay {
        position: static;
        width: 100%;
        right: auto;
        top: auto;
        padding: 20px 24px;
    }

    .show-gallery-scatter {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        position: static;
    }

    .show-gallery-photo {
        width: 160px;
        height: 115px;
        margin-top: -10px;
    }

    .show-sections-wrap.has-gallery .show-section {
        padding-right: 24px;
    }

    .show-cast-row td {
        display: block;
        padding: 0 16px;
    }

    .show-cast-row td.show-cast-role {
        padding-top: 12px;
        padding-bottom: 2px;
        white-space: normal;
        width: auto;
    }

    .show-cast-row td.show-cast-name {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 248, 240, 0.1);
    }

    .show-cast-row:last-child td.show-cast-name {
        border-bottom: none;
    }

    .show-videos-grid {
        grid-template-columns: 1fr;
    }

    .show-archive-wrap {
        padding: 32px 16px;
    }

    .show-archive-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .show-archive-card-link {
        flex-direction: column;
    }

    .show-archive-poster {
        width: 60%;
    }

    .show-archive-card-body {
        margin-left: 10%;
        margin-top: -10px;
    }
}


/* ─── Separator ─── */
.wp-block-separator {
    border-color: var(--blue);
    border-top-width: 1px;
}

/* ─── BLOCK STYLE: Namensschild ─── */
.is-style-namensschild {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    color: var(--text);
    background: var(--yellow);
    display: inline-block;
    padding: 2px 14px;
    border-radius: 3px;
    transform: rotate(-2deg);
    line-height: 1.4;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* ─── BLOCK STYLE: Drei Rauten ─── */
.is-style-rauten {
    border: none;
    background: none;
    text-align: center;
    overflow: visible;
}

.is-style-rauten::before {
    content: '◆ \00a0\00a0 ◆ \00a0\00a0 ◆';
    color: var(--blue);
    font-size: 10px;
    display: block;
    border: none;
    background: none;
    width: auto;
    height: auto;
}

/* ═══════════════════════════════════════════
   TEILNEHMER-SLIDER
   ═══════════════════════════════════════════ */

.participant-slider-section {
    padding: 40px 0;
    position: relative;
}

.participant-slider {
    overflow: hidden;
    max-width: 100%;
    margin: 0 48px;
    transition: height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.participant-slider-section--single .participant-slider {
    margin: 0;
}

.participant-slider-track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.participant-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card: outer wrapper, no background */
.participant-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    position: relative;
    padding: 10px 0;
}

/* Left: image + name, floating over the card */
.participant-card-left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 140px;
    margin-right: -30px;
}

.participant-card-image {
    width: 130px;
    height: 130px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cream-dark);
    border: 4px solid #fff;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.15);
    transform: rotate(-3deg);
    flex-shrink: 0;
}

.participant-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.participant-card-image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.participant-card-image--empty .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--pink-deep);
    opacity: 0.5;
}

/* Name tag: overlaps bottom of image */
h3.participant-card-name {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: -12px 0 0;
    padding: 2px 14px;
    background: var(--blue);
    border-radius: 3px;
    transform: rotate(-2deg);
    white-space: nowrap;
    line-height: 1.4;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

/* Right: the visible card with text */
.participant-card-body {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    padding: 24px 24px 24px 44px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
    margin-top: 10px;
}

.participant-card:hover .participant-card-body {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.participant-card-text {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Slider buttons – positioned relative to .participant-slider-section */
.participant-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background 0.2s, box-shadow 0.2s;
    z-index: 2;
    padding: 0;
}

.participant-slider-btn:hover:not(.is-disabled) {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.participant-slider-btn.is-disabled {
    opacity: 0.3;
    cursor: default;
}

.participant-slider-btn--prev {
    left: 15px;
}

.participant-slider-btn--next {
    right: 15px;
}

/* Leere Absätze von wpautop im Slider entfernen */
.participant-slider-section > p:empty,
.participant-slider-track > p {
    display: none;
}

/* Dots */
.participant-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding:0;
}

.participant-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.participant-slider-dot.is-active {
    background: var(--blue);
}

.participant-slider-dot:hover {
    background: var(--red-light);
}

/* Mobile: image above text */
@media (max-width: 599px) {
    .participant-slider {
        margin: 0 16px;
    }

    .participant-card {
        flex-direction: column;
        align-items: center;
    }

    .participant-card-left {
        margin-right: 0;
        margin-bottom: -16px;
    }

    .participant-card-body {
        padding: 28px 20px 20px;
        margin-top: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .participant-slider-btn {
        display: none;
    }
}


/* ═══════════════════════════════════════════
   GUTENBERG FARBPALETTE – Frontend-Klassen
   ═══════════════════════════════════════════ */

/* Textfarben */
.has-red-color        { color: var(--red); }
.has-red-dark-color   { color: var(--red-dark); }
.has-red-light-color  { color: var(--red-light); }
.has-blue-color       { color: var(--blue); }
.has-yellow-color     { color: var(--yellow); }
.has-yellow-dark-color{ color: var(--yellow-dark); }
.has-dark-color       { color: var(--dark); }
.has-cream-color      { color: var(--cream); }
.has-cream-dark-color { color: var(--cream-dark); }
.has-pink-color       { color: var(--pink); }
.has-pink-deep-color  { color: var(--pink-deep); }
.has-text-color       { color: var(--text); }
.has-text-light-color { color: var(--text-light); }

/* Hintergrundfarben */
.has-red-background-color        { background-color: var(--red); }
.has-red-dark-background-color   { background-color: var(--red-dark); }
.has-red-light-background-color  { background-color: var(--red-light); }
.has-blue-background-color       { background-color: var(--blue); }
.has-yellow-background-color     { background-color: var(--yellow); }
.has-yellow-dark-background-color{ background-color: var(--yellow-dark); }
.has-dark-background-color       { background-color: var(--dark); }
.has-cream-background-color      { background-color: var(--cream); }
.has-cream-dark-background-color { background-color: var(--cream-dark); }
.has-pink-background-color       { background-color: var(--pink); }
.has-pink-deep-background-color  { background-color: var(--pink-deep); }
.has-text-background-color       { background-color: var(--text); }
.has-text-light-background-color { background-color: var(--text-light); }

/* ═══════════════════════════════════════════
   BLOCK STYLES: GRUPPEN-HINTERGRÜNDE
   ═══════════════════════════════════════════ */

/* Gemeinsam: Blöcke brechen aus dem entry-content Padding aus */
.entry-content .is-style-bg-cream,
.entry-content .is-style-bg-warm,
.entry-content .is-style-bg-dunkel,
.entry-content .show-cast-section,
.entry-content .show-dates-section,
.entry-content .show-facts-section,
.entry-content .show-videos-section,
.entry-content .participant-slider-section {
    margin-left: -40px;
    margin-right: -40px;
}

/* Regulärer Abstand nach unten, wenn letztes Element kein Full-Width-Block ist */
.entry-content > :last-child {
    margin-bottom: 60px;
}

/* Kein Abstand, wenn ein Full-Width-Block das letzte Element ist */
.entry-content > .is-style-bg-cream:last-child,
.entry-content > .is-style-bg-warm:last-child,
.entry-content > .is-style-bg-dunkel:last-child,
.entry-content > .show-cast-section:last-child,
.entry-content > .show-dates-section:last-child,
.entry-content > .show-facts-section:last-child,
.entry-content > .show-videos-section:last-child,
.entry-content > .participant-slider-section:last-child {
    margin-bottom: 0;
}

/* Cream-Verlauf – wie die Intro-Sektion */
.is-style-bg-cream {
    background: linear-gradient(180deg, rgba(255,248,240,0.55) 0%, rgba(245,230,208,0.55) 100%);
    padding: 56px 40px;
}

/* Warm – wie die Mitmachen-Sektion */
.is-style-bg-warm {
    background: rgb(241 218 192 / 55%);
    padding: 56px 40px;
}

/* Dunkel – wie Hero/Cast-Sektion */
.is-style-bg-dunkel {
    background: linear-gradient(135deg, var(--dark) 0%, #2A0E0E 80%, #3A1515 100%);
    padding: 56px 40px;
    color: var(--cream);
}

.is-style-bg-dunkel h1,
.is-style-bg-dunkel h2,
.is-style-bg-dunkel h3,
.is-style-bg-dunkel h4,
.is-style-bg-dunkel h5,
.is-style-bg-dunkel h6 {
    color: var(--cream);
}

.is-style-bg-dunkel p,
.is-style-bg-dunkel li,
.is-style-bg-dunkel span {
    color: rgba(255, 255, 255, 0.85);
}

.is-style-bg-dunkel a {
    color: var(--yellow);
}

.is-style-bg-dunkel a:hover {
    color: var(--yellow-dark);
}
