/* =====================================================================
   Veranstaltung – Detailseite (aus der bisherigen view.php übernommen,
   Kopf-/Fußbereich und globale Regeln jetzt in goebus.css)
   ===================================================================== */
.article-hero { 
        position: relative; 
        height: 55vh; min-height: 400px; 
        background-color: #333; background-size: cover; background-position: center; 
        display: flex; align-items: flex-end; justify-content: center; 
        padding-bottom: 80px; 
        z-index: 0; 
    }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.9) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; max-width: 900px; padding: 0 20px; text-shadow: 0 2px 15px rgba(0,0,0,0.5); }
.hero-badge { background: var(--brand-magenta); color: white; padding: 6px 18px; border-radius: 30px; font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero-content h1 { font-size: 3rem; margin: 0 0 15px; font-weight: 800; line-height: 1.2; }
.hero-meta { font-size: 1.1rem; opacity: 0.9; font-weight: 400; display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; }
.article-container { 
        max-width: 900px; margin: -50px auto 40px auto; 
        background: var(--card-bg); padding: 50px 60px; 
        border-radius: var(--border-radius); box-shadow: var(--shadow); 
        position: relative; z-index: 10; border: 1px solid var(--border-color); 
    }
@media (max-width: 768px) {
  .article-container { padding: 30px 20px; }
}
.article-intro { font-family: 'Merriweather', serif; font-size: 1.25rem; color: var(--text-color); line-height: 1.8; margin-bottom: 40px; border-left: 4px solid var(--brand-blue); padding-left: 25px; font-style: italic; }
body.dark-mode .article-intro { color: #eee; }

    .article-body { 
        font-size: 1.1rem; 
        line-height: 1.8; 
        color: var(--text-color) !important; 
        overflow-wrap: break-word; 
        word-wrap: break-word;
        max-width: 100%;
    }
.article-body p { margin-bottom: 25px; text-align: justify; color: var(--text-color) !important; }
.article-body h2, .article-body h3 { margin-top: 50px; margin-bottom: 20px; color: var(--brand-blue); font-weight: 700; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.article-body h2 { font-size: 1.8rem; }
.article-body h3 { font-size: 1.5rem; }
.article-body img { max-width: 100% !important; height: auto !important; border-radius: 8px; margin: 30px 0; display:block; box-shadow: var(--shadow); width: auto !important; float: none !important; }
.article-body ul { margin-bottom: 25px; padding-left: 20px; }
.article-body li { margin-bottom: 10px; }
.article-body * {
        background-color: transparent !important; 
        background-image: none !important;
        position: static !important;
        z-index: auto !important;
    }
.article-body span, .article-body div, .article-body td {
        color: var(--text-color) !important;
    }
.article-body table, .article-body div {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        float: none !important; 
    }

	.article-intro, 
    .modern-intro {
        font-size: 1.08rem !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
    }
.article-intro {
        padding-left: 15px !important;
    }

    .article-body, 
    .modern-body {
        font-size: 1.06rem !important;
        line-height: 1.65 !important;
    }

    .article-body h2, 
    .modern-body h2 {
        font-size: 1.4rem !important;
        margin-top: 35px !important;
        margin-bottom: 15px !important;
    }
.article-body h3, 
    .modern-body h3 {
        font-size: 1.2rem !important;
        margin-top: 25px !important;
        margin-bottom: 15px !important;
    }

    .article-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.btn-back { display: inline-flex; align-items: center; text-decoration: none; color: #666; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.btn-back:hover { color: var(--brand-blue); }
.btn-pdf { display: inline-flex; align-items: center; gap: 8px; background-color: #d63031; color: white !important; padding: 10px 20px; border-radius: 6px; font-size: 0.9rem; font-weight: 600; transition: background 0.2s, transform 0.2s; text-decoration: none; box-shadow: 0 2px 5px rgba(214, 48, 49, 0.3); }
.btn-pdf:hover { background-color: #b00000; transform: translateY(-2px); }
.btn-pdf[style*="--brand-blue"] {
        box-shadow: 0 2px 5px rgba(58, 138, 189, 0.3);
    }
.btn-pdf[style*="--brand-blue"]:hover {
        background-color: var(--brand-blue-dark) !important;
        transform: translateY(-2px);
    }

	.report-placeholder {
	    text-align: center;
	    padding: 60px 20px;
	    background: #f8fafc;
	    border: 1px dashed #cbd5e1;
	    border-radius: 12px;
	    margin-top: 40px;
	    margin-bottom: 20px;
	    transition: background 0.3s, border-color 0.3s;
	}
.report-placeholder .tools-icon {
	    font-size: 3.5rem;
	    color: var(--brand-blue);
	    margin-bottom: 20px;
	}
.report-placeholder h3 {
	    color: var(--brand-blue-dark);
	    font-size: 1.8rem;
	    margin-top: 0;
	    margin-bottom: 15px;
	}
.report-placeholder p {
	    font-size: 1.1rem;
	    color: #475569;
	    max-width: 600px;
	    margin: 0 auto;
	    line-height: 1.6;
	}

	body.dark-mode .report-placeholder {
	    background: #1e293b; 
	    border-color: #334155;
	}
body.dark-mode .report-placeholder h3 {
	    color: #93c5fd; 
	}
body.dark-mode .report-placeholder p {
	    color: #cbd5e1;
	}

    .meeting-point-wrapper { 
        max-width: 1400px !important; 
        margin: 40px auto; 
        padding: 0 20px; 
        position: relative; 
        z-index: 20; 
    }
.meeting-point-box {
        position: relative; 
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important; 
        border: 1px solid rgba(0,0,0,0.05); 
        border-left: 4px solid transparent; 
        border-radius: 16px; 
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 40px 50px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.04);
        transition: transform 0.3s, box-shadow 0.3s;
        width: 100%;
        box-sizing: border-box;
    }
.meeting-point-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }
body.dark-mode .meeting-point-box { 
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important; 
        border-color: rgba(255,255,255,0.05);
        border-left: 4px solid transparent; 
    }
.meeting-point-box::after {
        content: ''; position: absolute; top: 0; left: -4px; width: 4px; height: 0; 
        background: var(--brand-blue) !important; border-radius: 4px 0 0 4px; z-index: 1; 
    }
@keyframes drawLineDown { to { height: 100%; } }
.reveal-on-scroll.is-visible .meeting-point-box::after {
        animation: drawLineDown 1s ease-out forwards;
    }
.meeting-point-box::before {
        content: ''; position: absolute; top: 28%; left: -15px; width: 26px !important; height: 26px !important;
        box-sizing: border-box !important; background-color: var(--brand-magenta) !important;
        border: 4px solid #ffffff !important; border-radius: 50%; box-shadow: 0 0 0 4px rgba(219,0,89,0.2) !important;
        z-index: 5; opacity: 0; transform: translateY(-50%) scale(0);
    }
body.dark-mode .meeting-point-box::before {
        border-color: #ffffff !important;
        box-shadow: 0 0 0 4px rgba(219,0,89,0.2) !important;
    }
.mp-header { width: 100%; margin-bottom: 25px; }

    .mp-header h3, .sv-info h4, .rest-info h3 { 
        position: relative; display: block; padding-bottom: 0; border-bottom: none !important; 
        color: var(--brand-blue) !important; margin-bottom: 20px !important; border: none; padding: 0;
    }
.mp-header h3 { font-size: 1.4rem; font-weight: 800; }
.sv-info h4 { font-size: 1.8rem; font-weight: 800; margin-top: 0; }
.rest-info h3 { font-size: 1.8rem; display: flex; align-items: center; gap: 12px; margin-top: 0; }
body.dark-mode .rest-info h3 { color: #5aaee0 !important; }
.mp-header h3::after, .sv-info h4::after, .rest-info h3::after { display: none !important; content: none !important; }
.mp-info-group { display: flex; gap: 30px; flex-wrap: wrap; flex-grow: 1; }
.mp-item { display: flex; align-items: flex-start; gap: 12px; }
.mp-item, .mp-action { opacity: 0; transform: translateY(20px); }
.mp-icon {
        width: 50px; height: 50px; background: rgba(58, 138, 189, 0.1); color: var(--brand-blue);
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-size: 1.4rem; flex-shrink: 0;
    }
body.dark-mode .mp-icon { background: rgba(96, 165, 250, 0.15); color: #38bdf8; }
.mp-text label { display: block; font-size: 0.8rem; text-transform: uppercase; color: var(--text-color); opacity: 0.7; font-weight: 700; margin-bottom: 2px; letter-spacing: 0.5px; }
.mp-text span { font-size: 1.1rem; font-weight: 600; color: var(--text-color); display: block; line-height: 1.4; }
.mp-btn {
        color: white !important; padding: 12px 24px; border-radius: 30px; font-weight: 700; font-size: 0.95rem;
        text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        transition: transform 0.2s, box-shadow 0.2s, filter 0.2s; border: none;
    }
.mp-btn:hover { transform: translateY(-2px); filter: brightness(0.9); }

    .registration-wrapper { max-width: 1100px; margin: 60px auto; padding: 0 20px; box-sizing: border-box; }
.registration-panel { 
        background: var(--card-bg); border-radius: 12px; padding: 40px; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--border-color); 
        border-top: 4px solid var(--brand-magenta);
    }

	.reg-header-title {
	    margin-top: 0; 
	    color: var(--brand-blue); 
	    font-size: 1.8rem; 
	    border-bottom: 2px solid var(--border-color); 
	    padding-bottom: 15px; 
	    margin-bottom: 25px;
	}

	body.dark-mode .reg-header-title {
	    color: #93c5fd; 
	}

	@media (max-width: 768px) {
	    .reg-header-title {
	        font-size: 1.35rem; 
	        padding-bottom: 12px;
	        margin-bottom: 20px;
	    }
	}
.status-bar-container { background: var(--brand-gray); border-radius: 20px; height: 12px; width: 100%; margin: 15px 0; overflow: hidden; border: 1px solid var(--border-color); }
.status-bar-fill { height: 100%; border-radius: 20px; transition: width 1s ease-out; }
.reg-form-group { margin-bottom: 20px; }
.reg-form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-color); }

    .reg-input { 
        width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: 8px; 
        font-family: inherit; font-size: 1rem; background: var(--input-bg); color: var(--text-color); transition: all 0.2s; box-sizing: border-box;
    }
.reg-input:focus { outline: none; border-color: var(--brand-magenta); box-shadow: 0 0 0 3px rgba(219, 0, 89, 0.1); background: var(--card-bg); }

    .companion-box { background: var(--brand-gray); padding: 25px; border-radius: 8px; border: 1px dashed #cbd5e1; margin-bottom: 25px; }
.companion-row { display: none; margin-bottom: 15px; }
.captcha-box { 
        background: #fffbeb; padding: 20px; border-radius: 8px; border: 1px solid #fde047; 
        margin-bottom: 25px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; 
    }

    .btn-remove-comp {
        position: absolute; top: -5px; right: 0; 
        background: #ef4444; color: white; border: none; 
        border-radius: 4px; padding: 4px 10px; cursor: pointer; 
        font-size: 0.8rem; transition: background 0.2s;
    }
.btn-remove-comp:hover { background: #dc2626; }

    body.dark-mode .btn-remove-comp { background: #9f1239; color: #fecdd3; }
body.dark-mode .btn-remove-comp:hover { background: #881337; }

    .companion-row {
        position: relative; 
        margin-bottom: 25px; 
        padding-top: 25px; 
        padding-bottom: 15px; 
        border-bottom: 1px dashed var(--border-color);
    }
.companion-row:last-child {
        border-bottom: none; 
    }

    .comp-grid {
        display: grid; 
        grid-template-columns: 1fr 1fr 1fr; 
        gap: 15px; 
        margin-bottom: 10px;
    }
.captcha-inner-flex {
        display: flex; 
        align-items: center; 
        gap: 10px;
    }

    @media (max-width: 768px) {
        .comp-grid {
            grid-template-columns: 1fr !important;
            gap: 12px;
        }
        .btn-remove-comp {
            position: relative !important;
            top: 0 !important;
            right: 0 !important;
            width: 100%;
            margin-bottom: 15px;
            padding: 10px;
            display: flex;
            justify-content: center;
        }
        .captcha-box {
            flex-direction: column !important;
            align-items: stretch !important;
            text-align: center;
        }
        .captcha-inner-flex {
            flex-direction: column !important;
            width: 100%;
        }
        .captcha-box strong {
            width: 100%;
            display: block;
            box-sizing: border-box;
        }
        .captcha-box input {
            width: 100% !important;
            text-align: center;
            font-size: 1.2rem;
            padding: 12px;
        }
    }

    body.dark-mode .registration-panel { background: #1e293b; border-color: #334155; }
body.dark-mode .reg-input { background: #0f172a; border-color: #475569; color: #e2e8f0; }
body.dark-mode .reg-input:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1); }
body.dark-mode .companion-box { background: #0f172a; border-color: #334155; }
body.dark-mode .status-bar-container { background: #0f172a; border-color: #334155; }
body.dark-mode .captcha-box { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); }
body.dark-mode .captcha-box strong { background: #0f172a; color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); }

    @keyframes dotGrowCenter {
        0%   { transform: translateY(-50%) scale(0); opacity: 0; }
        50%  { transform: translateY(-50%) scale(1.6); opacity: 1; box-shadow: 0 0 20px rgba(219, 0, 89, 0.6); }
        100% { transform: translateY(-50%) scale(1); opacity: 1; }
    }
.reveal-on-scroll.is-visible .meeting-point-box::before {
        animation: 
            dotGrowCenter 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, 
            pulseRadar 2s infinite 0.5s;
    }
.reveal-on-scroll.is-visible .mp-item,
    .reveal-on-scroll.is-visible .mp-action {
        animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    }
.reveal-on-scroll.is-visible .mp-item:nth-child(1) { animation-delay: 0.2s; }
.reveal-on-scroll.is-visible .mp-item:nth-child(2) { animation-delay: 0.4s; }
.reveal-on-scroll.is-visible .mp-item:nth-child(3) { animation-delay: 0.6s; }
.reveal-on-scroll.is-visible .mp-action            { animation-delay: 0.8s; }

    .modern-event-article { max-width: 1100px; margin: -50px auto 40px auto; position: relative; z-index: 10; padding: 0 20px; }
@media (max-width: 768px) {
  .modern-event-article { margin-top: -30px; }
}
.modern-event-box {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: 16px;
        padding: 60px 50px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    }
body.dark-mode .modern-event-box {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-color: rgba(255,255,255,0.05);
    }
.modern-intro {
        font-family: 'Merriweather', serif; font-size: 1.35rem; font-weight: 300;
        color: var(--brand-blue-dark); text-align: center; margin-bottom: 50px;
        position: relative; padding-bottom: 35px; line-height: 1.8;
    }
body.dark-mode .modern-intro { color: #93c5fd; }
.modern-intro::after {
        content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
        width: 60px; height: 3px; background: var(--brand-magenta); border-radius: 3px;
    }
.modern-body {
        font-size: 1.15rem; line-height: 1.9; color: #475569;
        max-width: 800px; margin: 0 auto; 
    }
body.dark-mode .modern-body { color: #cbd5e1; }
.modern-body h2, .modern-body h3 {
        color: var(--brand-blue); border-bottom: none; text-align: left;
        margin-top: 50px; margin-bottom: 25px; font-weight: 800; position: relative; padding-left: 18px;
    }
.modern-body h2::before, .modern-body h3::before {
        content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 5px; background: var(--brand-magenta); border-radius: 4px;
    }
.modern-body ul { list-style: none; padding-left: 10px; margin-bottom: 30px; }
.modern-body ul li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.modern-body ul li::before {
        content: '\f0da'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
        position: absolute; left: 0; top: 2px; color: var(--brand-magenta); font-size: 1.1rem;
    }
.modern-body strong { color: var(--text-color); background: rgba(58, 138, 189, 0.1); padding: 2px 6px; border-radius: 4px; font-weight: 700; }
body.dark-mode .modern-body strong { color: #fff; background: rgba(96, 165, 250, 0.15); }
.modern-body img { border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); margin: 40px auto; display: block; }
@media (max-width: 768px) {
  .modern-event-box { padding: 30px 20px; }
  .modern-intro { font-size: 1.15rem; padding-bottom: 25px; margin-bottom: 35px; }
  .modern-body { font-size: 1.05rem; }
}

    .expandable-body-container {
        position: relative;
        max-height: 250px; 
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }
.expandable-body-fade {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 1) 100%);
        pointer-events: none;
    }
body.dark-mode .expandable-body-fade {
        background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 1) 100%);
    }
.btn-read-more {
        background-color: transparent;
        color: var(--brand-magenta);
        border: 2px solid var(--brand-magenta);
        padding: 8px 20px;
        border-radius: 30px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
    }
.btn-read-more:hover {
        background-color: var(--brand-magenta);
        color: white;
    }
.registration-wrapper { margin: 40px auto; padding: 0 15px; }
.registration-panel { padding: 30px 20px; }

    .press-box {
        margin-top: 40px;
        padding: 30px;
        background: rgba(58, 138, 189, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(58, 138, 189, 0.15);
        border-left: 4px solid var(--brand-blue);
    }
.press-box h3 {
        margin-top: 0;
        color: var(--brand-blue-dark);
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    body.dark-mode .press-box {
        background: rgba(90, 174, 224, 0.05);
        border-color: rgba(90, 174, 224, 0.15);
    }
body.dark-mode .press-box h3 {
        color: var(--brand-blue); 
    }

    .modern-intro, .modern-body > * { opacity: 0; transform: translateY(20px); }
.reveal-on-scroll.is-visible .modern-intro { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s forwards; }
.reveal-on-scroll.is-visible .modern-body > *:nth-child(1) { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s forwards; }
.reveal-on-scroll.is-visible .modern-body > *:nth-child(2) { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s forwards; }
.reveal-on-scroll.is-visible .modern-body > *:nth-child(3) { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s forwards; }
.reveal-on-scroll.is-visible .modern-body > *:nth-child(4) { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s forwards; }
.reveal-on-scroll.is-visible .modern-body > *:nth-child(5) { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.6s forwards; }
.reveal-on-scroll.is-visible .modern-body > *:nth-child(n+6) { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.7s forwards; }

    .sv-box { opacity: 0; transform: translateY(30px); }
.sv-badge { opacity: 0; transform: scale(0); }
.sv-info-table tr { opacity: 0; transform: translateX(-20px); }
.reveal-on-scroll.is-visible .sv-box { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.reveal-on-scroll.is-visible .sv-badge { animation: popInBadge 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards; }
.reveal-on-scroll.is-visible .sv-info-table tr { animation: slideInRight 0.4s ease-out forwards; }
.reveal-on-scroll.is-visible .sv-info-table tr:nth-child(1) { animation-delay: 0.3s; }
.reveal-on-scroll.is-visible .sv-info-table tr:nth-child(2) { animation-delay: 0.4s; }
.reveal-on-scroll.is-visible .sv-info-table tr:nth-child(3) { animation-delay: 0.5s; }
.reveal-on-scroll.is-visible .sv-info-table tr:nth-child(4) { animation-delay: 0.6s; }
.reveal-on-scroll.is-visible .sv-info-table tr:nth-child(5) { animation-delay: 0.7s; }
@keyframes popInBadge { 0% { transform: scale(0); opacity: 0; } 80% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.rule-card { opacity: 0; transform: translateY(30px); }
.reveal-on-scroll.is-visible .rule-card { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.reveal-on-scroll.is-visible .rule-card:nth-child(1) { animation-delay: 0.1s; }
.reveal-on-scroll.is-visible .rule-card:nth-child(2) { animation-delay: 0.2s; }
.reveal-on-scroll.is-visible .rule-card:nth-child(3) { animation-delay: 0.3s; }
.reveal-on-scroll.is-visible .rule-card:nth-child(4) { animation-delay: 0.4s; }
.reveal-on-scroll.is-visible .rule-card:nth-child(5) { animation-delay: 0.5s; }
.reveal-on-scroll.is-visible .rule-card:nth-child(6) { animation-delay: 0.6s; }
.rest-info { opacity: 0; transform: translateX(-30px); }
.rest-map-wrapper { opacity: 0; transform: scale(0.95); }
.reveal-on-scroll.is-visible .rest-info { animation: slideInFromLeft 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.reveal-on-scroll.is-visible .rest-map-wrapper { animation: popInMap 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s forwards; }
@keyframes slideInFromLeft { 0% { opacity: 0; transform: translateX(-30px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes popInMap { 0% { opacity: 0; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }

    .inline-image-wrapper { 
        display: flex; 
        justify-content: center; 
        gap: 50px; 
        margin: 50px 0; 
        flex-wrap: wrap; 
    }

    .inline-image-figure.gallery-item,
    body.dark-mode .inline-image-figure.gallery-item {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 45%; 
        max-width: 300px; 
        height: auto !important;
        overflow: visible !important;
        position: relative; 
        z-index: 1;
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .inline-image-figure.gallery-item:nth-child(4n+1) { transform: rotate(-2.5deg) !important; }
.inline-image-figure.gallery-item:nth-child(4n+2) { transform: rotate(1.5deg) !important; }
.inline-image-figure.gallery-item:nth-child(4n+3) { transform: rotate(-1.5deg) !important; }
.inline-image-figure.gallery-item:nth-child(4n+4) { transform: rotate(3deg) !important; }

    .inline-image-figure.gallery-item:hover { 
        transform: scale(1.05) translateY(-5px) rotate(0deg) !important; 
        z-index: 10 !important; 
    }

    .inline-image-figure.gallery-item img { 
        width: 100% !important; 
        height: 180px !important; 
        object-fit: cover !important; 
        border-radius: 8px !important; 
        margin: 0 !important; 
        box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important; 
        transition: box-shadow 0.3s !important;
    }

    body.dark-mode .inline-image-figure.gallery-item img { 
        box-shadow: 0 5px 15px rgba(0,0,0,0.6) !important; 
    }

    .inline-image-figure.gallery-item:hover img { 
        box-shadow: 0 15px 30px rgba(0,0,0,0.3) !important; 
    }
body.dark-mode .inline-image-figure.gallery-item:hover img { 
        box-shadow: 0 15px 30px rgba(0,0,0,0.8) !important; 
    }

    .inline-image-figure.gallery-item .inline-image-caption { 
        text-align: left !important; 
        font-size: 0.9rem !important; 
        color: var(--text-color) !important; 
        margin-top: 18px !important; 
        font-weight: 500 !important; 
        line-height: 1.5 !important; 
    }

    @media (max-width: 768px) { 
        .inline-image-wrapper { gap: 35px; } 
        .inline-image-figure.gallery-item,
        .inline-image-figure.gallery-item:nth-child(4n+1),
        .inline-image-figure.gallery-item:nth-child(4n+2),
        .inline-image-figure.gallery-item:nth-child(4n+3),
        .inline-image-figure.gallery-item:nth-child(4n+4) { 
            width: 100%; 
            max-width: 100%; 
            transform: none !important; 
        } 
        .inline-image-figure.gallery-item img { 
            height: auto !important; 
            max-height: 220px !important; 
        }
    }

    @media (max-width: 768px) {
        .article-container { padding: 30px 20px; margin-top: -30px; } 
        .meeting-point-box { padding: 30px 20px; gap: 20px; flex-direction: column; align-items: flex-start; }
        .mp-info-group { flex-direction: column; gap: 20px; width: 100%; }
        .mp-action { width: 100%; display: flex; flex-direction: column; gap: 10px; }
        .mp-btn { width: 100%; } 
        .sv-box { flex-direction: column; }
        .sv-img { min-height: 250px; border-right: none; border-bottom: 1px solid var(--border-color); }
        .sv-info { padding: 30px 20px; }
        .rest-info { padding: 30px 20px; }
        .btn-rest { width: 100%; justify-content: center; }
        .rest-map-wrapper { min-height: 300px; border-left: none; border-top: 1px solid var(--border-color); }
        #mapTimeOverlay { top: auto !important; bottom: 20px !important; right: 15px !important; font-size: 0.85rem !important; padding: 6px 12px !important; z-index: 1000 !important; }
        .timeline-fullwidth-section, .timeline-scroll-wrapper { overflow: visible !important; overflow-x: visible !important; overflow-y: visible !important; }
        .modern-timeline { padding-left: 0 !important; margin-top: 15px; }
        .modern-timeline::before, .modern-timeline.is-vertical::after { left: 0 !important; width: 4px !important; margin-left: 0; }
        .modern-timeline .timeline-item { width: 100%; padding-left: 35px !important; padding-right: 0 !important; text-align: left !important; }
        .modern-timeline .timeline-item .timeline-dot { left: -11px !important; right: auto !important; margin-left: 0 !important; }    
    }
.sticky-warning { position: sticky; top: 70px; z-index: 999; background: #ef4444; color: white; padding: 15px; text-align: center; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
body.dark-mode .sticky-warning { background: #b91c1c; }

    .rules-fullwidth {
        width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        color: var(--text-color); padding: 80px 20px; margin-top: 80px; margin-bottom: 80px;
    }
body.dark-mode .rules-fullwidth { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: white; }
.rules-fullwidth-inner { max-width: 1200px; margin: 0 auto; }
.rules-header { text-align: center; margin-bottom: 50px; }
.rules-header h3 { color: var(--brand-blue) !important; font-size: 2.2rem !important; margin: 0 0 10px 0 !important; font-weight: 800; border: none !important;}
body.dark-mode .rules-header h3 { color: white !important; }
.rules-header p { color: #64748b; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
body.dark-mode .rules-header p { color: #94a3b8; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.rule-card {
        background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255,255,255,0.8); border-radius: 16px;
        padding: 30px 20px; text-align: center; backdrop-filter: blur(10px); transition: transform 0.3s, box-shadow 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    }
body.dark-mode .rule-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.rule-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--brand-magenta); }
body.dark-mode .rule-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.rule-icon { font-size: 2rem; color: var(--brand-magenta); margin-bottom: 15px; display: inline-block; background: rgba(219, 0, 89, 0.1); padding: 15px; border-radius: 50%; }
.rule-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; color: var(--text-color); }
body.dark-mode .rule-title { color: #f8fafc; }
.rule-text { font-size: 0.85rem; color: #475569; line-height: 1.6; }
body.dark-mode .rule-text { color: #cbd5e1; }

    .sv-wrapper { position: relative; margin: 40px auto; max-width: 1400px; padding: 0 20px; z-index: 20; }
.sv-badge { position: absolute; top: -15px; left: 30px; background: var(--brand-magenta); color: white; padding: 8px 25px; border-radius: 30px; font-weight: 700; font-size: 0.85rem; box-shadow: 0 4px 15px rgba(219, 0, 89, 0.4); z-index: 10; text-transform: uppercase; letter-spacing: 1px; }
.sv-box { 
        display: flex; flex-wrap: wrap; background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); 
        border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
        border: 1px solid rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; 
    }
.sv-box:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(58, 138, 189, 0.3); }
.sv-info-table td a { color: var(--brand-blue-dark, #2c6e96) !important; text-decoration: none !important; font-weight: 700; border-bottom: none !important; transition: all 0.3s ease; display: inline-block; }
.sv-info-table td a:hover { color: var(--brand-magenta) !important; transform: translateY(-1px); }
body.dark-mode .sv-box { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-color: rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.sv-img { flex: 1; min-width: 300px; background: transparent; position: relative; min-height: 300px; border-right: 1px solid rgba(0,0,0,0.05); }
body.dark-mode .sv-img { border-right-color: rgba(255,255,255,0.05); }
.sv-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.sv-info { flex: 1.5; min-width: 300px; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; }
.sv-info-table { width: 100%; border-collapse: collapse; }
.sv-info-table td { padding: 12px 0; border-bottom: 1px dashed var(--border-color); font-size: 1.05rem; word-break: break-word; white-space: normal; }
.sv-info-table tr:last-child td { border-bottom: none; padding-bottom: 0; }
.sv-info-table td:first-child { font-weight: 600; color: var(--text-color); width: 35%; opacity: 0.7; }
.sv-info-table td strong { color: var(--brand-magenta); }

    @keyframes slideInRight { 0% { opacity: 0; transform: translateX(-50px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes dotGrow { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.6); opacity: 1; box-shadow: 0 0 20px rgba(219, 0, 89, 0.6); } 100% { transform: scale(1); opacity: 1; } }
.timeline-fullwidth-section { 
        width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; 
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); padding: 80px 20px; 
        margin-top: 80px; margin-bottom: 80px; border-top: 1px solid rgba(255,255,255,0.6); 
        border-bottom: 1px solid rgba(255,255,255,0.6); overflow: hidden; 
    }
body.dark-mode .timeline-fullwidth-section { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-color: rgba(255,255,255,0.05); }
.timeline-header { text-align: center; margin-bottom: 30px; }
.timeline-header h3 { font-size: 2.2rem !important; color: var(--brand-blue) !important; margin: 0 0 10px 0 !important; border:none !important; }
.timeline-header p { color: var(--text-color); opacity: 0.7; font-size: 1.1rem; margin: 0; }
.timeline-scroll-wrapper { width: 100%; overflow-x: auto; overflow-y: hidden; padding-bottom: 30px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--brand-magenta) rgba(0,0,0,0.05); }
.timeline-scroll-wrapper::-webkit-scrollbar { height: 8px; }
.timeline-scroll-wrapper::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 4px; }
.timeline-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--brand-magenta); border-radius: 4px; }
.modern-timeline { display: flex; position: relative; width: max-content; min-width: 100%; justify-content: center; padding: 50px 20px 20px 20px; gap: 40px; }
.modern-timeline::before { content: ''; position: absolute; top: 61px; left: 50%; transform: translateX(-50%); height: 4px; background: linear-gradient(to right, var(--brand-blue), var(--brand-magenta)); z-index: 1; width: 0; }
.modern-timeline .timeline-item { position: relative; width: 320px; z-index: 2; opacity: 0; transform: translateY(20px); }
.modern-timeline .timeline-dot { position: absolute; top: 0; left: 30px; width: 26px; height: 26px; background: var(--brand-magenta) !important; border: 4px solid #ffffff !important; border-radius: 50%; box-shadow: 0 0 0 4px rgba(219,0,89,0.2); z-index: 3; opacity: 0; transform: scale(0); }
.modern-timeline .timeline-content { 
        margin-top: 40px; padding: 30px; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.8); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
        text-align: left; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; 
    }
.modern-timeline .timeline-item:hover .timeline-content { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--brand-blue); }
body.dark-mode .modern-timeline .timeline-content { background: rgba(255, 255, 255, 0.05); border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.tl-time-badge { background: var(--brand-blue); color: white; padding: 6px 14px; border-radius: 20px; font-weight: 800; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tl-title { font-size: 1.25rem !important; font-weight: 700; margin: 0 0 5px 0 !important; border: none !important; }
.tl-logo { max-height: 45px; max-width: 150px; object-fit: contain; margin-top: 10px; display: block; }
body.dark-mode .tl-logo { filter: brightness(1.2); }
@keyframes expandLineCenter { to { width: calc(100% - 40px); } }
@keyframes popInUp { to { opacity: 1; transform: translateY(0); } }
.reveal-on-scroll.is-visible .modern-timeline::before { animation: expandLineCenter 2.5s cubic-bezier(0.165, 0.84, 0.44, 1) 1.2s forwards; }
.reveal-on-scroll.is-visible .timeline-item { animation: popInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.timeline-item:nth-child(1) { animation-delay: 1.5s !important; }
.timeline-item:nth-child(2) { animation-delay: 1.7s !important; }
.timeline-item:nth-child(3) { animation-delay: 1.9s !important; }
.timeline-item:nth-child(n+4) { animation-delay: 2.1s !important; }
.reveal-on-scroll.is-visible .timeline-dot { animation: dotGrow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, pulseRadar 2s infinite; }
.timeline-item:nth-child(1) .timeline-dot { animation-delay: 1.5s, 2.0s !important; }
.timeline-item:nth-child(2) .timeline-dot { animation-delay: 1.7s, 2.2s !important; }
@media (max-width: 768px) {
  .timeline-scroll-wrapper { overflow-x: visible; padding-bottom: 0; }
  .modern-timeline { flex-direction: column; min-width: 100%; width: 100%; padding: 20px 0 20px 0; gap: 20px; justify-content: flex-start; }
        .meeting-point-box::after {
            left: 20px !important; 
            width: 4px !important; 
            margin-left: 0 !important; 
        }
        .modern-timeline::before { 
            left: 20px !important; 
            top: 0 !important; 
            width: 4px !important; 
            bottom: auto !important; 
            transform: none !important; 
            background: linear-gradient(to bottom, var(--brand-blue), var(--brand-magenta)) !important; 
            height: 0; 
        }
  0% { height: 0; }
  100% { height: 100%; }
  .reveal-on-scroll.is-visible .modern-timeline::before { 
            animation: expandLineVertical 2.5s ease-out 1.2s forwards !important; 
        }
  .meeting-point-box { padding: 30px 20px 30px 55px !important; }
  .modern-timeline .timeline-item { width: 100%; padding-left: 55px !important; transform: translateY(30px); }
        .meeting-point-box::before { 
            top: 64px !important; 
            left: 9px !important; 
            margin-left: 0 !important; 
            right: auto !important; 
            z-index: 10; 
            position: absolute; 
        }
        .modern-timeline .timeline-item .timeline-dot { 
            top: 30px; 
            left: 9px !important; 
            margin-left: 0 !important; 
            right: auto !important; 
            z-index: 10; 
            position: absolute; 
        }
  .modern-timeline .timeline-content { margin-top: 0; }
}

    .restaurant-fullwidth-section { 
        width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; 
        background: var(--brand-gray); padding: 80px 20px; margin-top: 80px; margin-bottom: 80px; 
        border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
    }
body.dark-mode .restaurant-fullwidth-section { background: #0f172a; border-color: #1e293b; }
.restaurant-modern { max-width: 1400px; margin: 0 auto; display: flex; flex-wrap: wrap; background: var(--card-bg); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border-color); }
.rest-info { flex: 1.2; min-width: 300px; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; }
.rest-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn-rest { padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform 0.2s, box-shadow 0.2s; }
.btn-rest:hover { transform: translateY(-3px); }
.btn-menu { background: #db0059; color: white !important; box-shadow: 0 4px 15px rgba(219,0,89,0.3); }
.btn-route-walk { background: #10b981; color: white !important; box-shadow: 0 4px 15px rgba(16,185,129,0.3); }
.btn-route-car { background: #3a8abd; color: white !important; box-shadow: 0 4px 15px rgba(58,138,189,0.3); }
.rest-map-wrapper { flex: 1; min-width: 300px; position: relative; min-height: 400px; border-left: 1px solid var(--border-color); }
#restaurantMap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; border: none; z-index: 1; }
@media (max-width: 768px) {
  .article-hero { height: 50vh; min-height: 350px; padding-bottom: 60px; }
  .hero-content h1 { font-size: 2.2rem; }
  .article-container { padding: 30px 20px; margin-top: -30px; border-radius: 12px; }
  .rules-fullwidth { padding: 40px 15px; margin-top: 50px; margin-bottom: 50px; }
  .rules-header h3 { font-size: 1.8rem !important; }
  .rule-card { padding: 20px 15px; }
  .rule-icon { font-size: 1.5rem; padding: 10px; margin-bottom: 10px; }
  .sv-wrapper { margin: 50px 0; }
  .sv-info { padding: 30px 20px; }
  .sv-info h4 { font-size: 1.5rem !important; }
}

    .cinema-section { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; background-color: var(--brand-blue); color: white; padding: 80px 0; margin-top: 80px; margin-bottom: 80px; text-align: center; }
body.dark-mode .cinema-section { background-color: #0d2b3e; }
.cinema-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); background: #000; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0; }
.gallery-section { max-width: 1200px; margin: 80px auto; padding: 0 20px; text-align: center; }
.gallery-section h3 { font-size: 2rem; margin-bottom: 40px; color: var(--brand-blue); font-weight: 300; text-transform: uppercase; letter-spacing: 2px; }

    .polaroid-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 25px; }
.polaroid-gallery .gallery-item { display: block; height: 220px; overflow: hidden; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s; background: var(--card-bg); cursor: pointer; position: relative; }
.polaroid-gallery .gallery-item:hover { transform: translateY(-7px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); z-index: 5; }
.polaroid-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.polaroid-gallery .gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 768px) {
  .polaroid-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 5px; overflow-x: visible; }
  .polaroid-gallery .gallery-item { width: 100%; height: 130px; margin: 0; flex: none; transform: none !important; }
}

    .lightbox-overlay { display: none; position: fixed; z-index: 99999; padding-top: 50px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.92); backdrop-filter: blur(5px); animation: fadeIn 0.3s; justify-content: center; align-items: center; flex-direction: column; }
.lightbox-content { display: block; max-width: 90%; max-height: 85vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 0 30px rgba(0,0,0,0.8); object-fit: contain; animation: zoomIn 0.3s; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; z-index: 100000; line-height: 1; }
.lightbox-close:hover { color: var(--brand-magenta); }
.lightbox-prev, .lightbox-next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 30px; transition: 0.3s ease; border-radius: 0 3px 3px 0; user-select: none; z-index: 100001; background-color: rgba(0,0,0,0.3); -webkit-tap-highlight-color: transparent; }
.lightbox-next { right: 0; border-radius: 3px 0 0 3px; }
.lightbox-prev { left: 0; border-radius: 3px 0 0 3px; }
@media (hover: hover) {
  .lightbox-prev:hover, .lightbox-next:hover { background-color: var(--brand-magenta); }
}
@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next { padding: 10px; font-size: 24px; background-color: rgba(0,0,0,0.1); }
  .lightbox-prev:active, .lightbox-next:active { background-color: var(--brand-magenta); }
}
@keyframes zoomIn { from {transform:scale(0.9); opacity:0} to {transform:scale(1); opacity:1} }
@keyframes fadeIn { from {opacity:0} to {opacity:1} }

    .participants-section { max-width: 1000px; margin: 60px auto; padding: 0 20px; text-align: center; }
.participants-section h3 { font-size: 1.5rem; margin-bottom: 30px; color: var(--brand-blue); font-weight: 300; text-transform: uppercase; letter-spacing: 1px; }
.participants-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.participant-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; width: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.participant-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--brand-blue); }
.participant-logo { max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; margin-bottom: 15px; filter: grayscale(100%); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.participant-card:hover .participant-logo { filter: grayscale(0%); opacity: 1; }
.participant-name { font-size: 0.85rem; color: var(--text-color); font-weight: 600; line-height: 1.3; }
body.dark-mode .participant-card { background: #252525; border-color: #444; }
body.dark-mode .participant-logo { filter: grayscale(100%) brightness(1.2); }
body.dark-mode .participant-card:hover .participant-logo { filter: grayscale(0%) brightness(1); }
@media (max-width: 768px) {
  .article-container { padding: 30px 20px; margin-top: -30px; }
  .hero-content h1 { font-size: 2rem; }
  .article-controls { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .btn-pdf { width: 100%; justify-content: center; }
  .gallery-section { margin: 50px auto; }
}

    @keyframes staggeredFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.participants-grid .participant-card, .polaroid-gallery .gallery-item, .modern-timeline .timeline-item { opacity: 0; }
.reveal-on-scroll.is-visible .participant-card, .reveal-on-scroll.is-visible .gallery-item, .reveal-on-scroll.is-visible .timeline-item { animation: staggeredFadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.participant-card:nth-child(1), .gallery-item:nth-child(1), .timeline-item:nth-child(1) { animation-delay: 0.1s; }
.participant-card:nth-child(2), .gallery-item:nth-child(2), .timeline-item:nth-child(2) { animation-delay: 0.2s; }
.participant-card:nth-child(3), .gallery-item:nth-child(3), .timeline-item:nth-child(3) { animation-delay: 0.3s; }
.participant-card:nth-child(4), .gallery-item:nth-child(4), .timeline-item:nth-child(4) { animation-delay: 0.4s; }
.participant-card:nth-child(5), .gallery-item:nth-child(5), .timeline-item:nth-child(5) { animation-delay: 0.5s; }
.participant-card:nth-child(6), .gallery-item:nth-child(6), .timeline-item:nth-child(6) { animation-delay: 0.6s; }
.participant-card:nth-child(n+7), .gallery-item:nth-child(n+7), .timeline-item:nth-child(n+7) { animation-delay: 0.7s; }
@keyframes pulseRadar {
        0% { box-shadow: 0 0 0 0 rgba(219,0,89, 0.4); }
        70% { box-shadow: 0 0 0 15px rgba(219,0,89, 0); }
        100% { box-shadow: 0 0 0 0 rgba(219,0,89, 0); }
    }
@keyframes floatBadge {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }
@keyframes drawLineRight { from { width: 0; } to { width: 100%; } }
.reveal-on-scroll.is-visible .mp-header h3::after, .reveal-on-scroll.is-visible .sv-info h4::after, .reveal-on-scroll.is-visible .rest-info h3::after { animation: drawLineRight 0.8s ease-out 0.5s forwards; }
body.dark-mode .mp-header h3::after, body.dark-mode .sv-info h4::after, body.dark-mode .rest-info h3::after { background: var(--brand-blue); }
.sv-badge { animation: floatBadge 3s ease-in-out infinite; }
.rule-card:hover .rule-icon { transform: scale(1.1) rotate(5deg); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modern-timeline.is-vertical .timeline-dot { animation: pulseRadar 2s infinite; }

    .registration-closed-state {
        text-align: center;
        padding: 40px 20px 20px;
    }
.registration-closed-state .closed-icon {
        font-size: 3.5rem;
        color: var(--brand-blue);
        opacity: 0.2;
        margin-bottom: 20px;
    }
.registration-closed-state h4 {
        margin-top: 0;
        color: var(--brand-blue-dark);
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
.registration-closed-state p {
        color: var(--text-color);
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 600px;
        margin: 0 auto 15px auto;
    }
.registration-closed-state .contact-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 25px;
        padding: 12px 25px;
        background: rgba(58, 138, 189, 0.1);
        color: var(--brand-blue);
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }
.registration-closed-state .contact-link:hover {
        background: var(--brand-blue);
        color: #fff;
        transform: translateY(-2px);
    }

    body.dark-mode .registration-closed-state h4 {
        color: #93c5fd; 
    }
body.dark-mode .registration-closed-state p {
        color: #cbd5e1;
    }
body.dark-mode .registration-closed-state .closed-icon {
        color: #94a3b8;
        opacity: 0.15;
    }
body.dark-mode .registration-closed-state .contact-link {
        background: rgba(147, 197, 253, 0.1);
        color: #93c5fd;
    }
body.dark-mode .registration-closed-state .contact-link:hover {
        background: rgba(147, 197, 253, 0.2);
    }

    @media (max-width: 768px) {
        .registration-closed-state {
            padding: 20px 10px;
        }
        .registration-closed-state h4 {
            font-size: 1.3rem;
        }
        .registration-closed-state p {
            font-size: 1rem;
        }
        .registration-closed-state .closed-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
    }


/* =====================================================================
   Ergänzungen (neues Design-System)
   ===================================================================== */
/* Titel im Titelbild weiß halten (globale Überschriftenfarbe überschreiben) */
.article-hero .hero-content h1 { color: #fff; }
.article-hero .hero-content .gb-badge { text-shadow: none; }
/* Dauerhafte Puls-Animationen auf drei Durchläufe begrenzen – Bewegung soll nicht ablenken */
.reveal-on-scroll.is-visible .meeting-point-box::before { animation: dotGrowCenter .5s cubic-bezier(.175,.885,.32,1.275) forwards, pulseRadar 2s 3 .5s; }
.reveal-on-scroll.is-visible .timeline-dot { animation: dotGrow .5s cubic-bezier(.175,.885,.32,1.275) forwards, pulseRadar 2s 3; }
.modern-timeline.is-vertical .timeline-dot { animation: pulseRadar 2s 3; }
.sv-badge { animation-iteration-count: 1; }
/* „Animationen aus“ (Darstellungsmenü) und Druck: alle Inhalte sofort sichtbar */
body.gb-no-motion :is(.meeting-point-box, .modern-body, .modern-timeline, .participants-grid, .polaroid-gallery, .sv-info-table, .rules-fullwidth, .restaurant-modern, .sv-wrapper) *,
body.gb-no-motion :is(.mp-item, .mp-action, .modern-intro, .rule-card, .rest-info, .rest-map-wrapper, .sv-box, .sv-badge) { opacity: 1 !important; transform: none !important; }
html:not(.js) :is(.mp-item, .mp-action, .modern-intro, .modern-body > *, .rule-card, .rest-info, .rest-map-wrapper, .sv-box, .sv-badge, .sv-info-table tr, .timeline-item, .timeline-dot, .participant-card, .gallery-item) { opacity: 1 !important; transform: none !important; }
@media print { :is(.mp-item, .mp-action, .modern-intro, .modern-body > *, .rule-card, .rest-info, .rest-map-wrapper, .sv-box, .sv-badge, .sv-info-table tr, .timeline-item, .timeline-dot, .participant-card, .gallery-item) { opacity: 1 !important; transform: none !important; } }
.gallery-item[role="button"]:focus-visible { outline: 3px solid var(--gb-focus); outline-offset: 4px; }

/* ---------- Titelbild im Mittelpunkt (fast bildschirmhoch, Bild frei sichtbar) ---------- */
.article-hero {
  height: auto; min-height: clamp(540px, calc(100svh - 94px), 920px); padding-bottom: clamp(64px, 9vw, 120px);
  overflow: hidden; isolation: isolate; background-color: #0b0f12;
}
.article-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
@media (prefers-reduced-motion: no-preference) {
  /* Titelbild ohne Zoom-Effekt (steht sofort ruhig da); nur die Überschrift blendet sanft ein */
  .js .article-hero .hero-content > * { animation: gbTitleIn .8s var(--gb-ease) both; }
  .js .article-hero .hero-content > :nth-child(2) { animation-delay: .12s; }
  .js .article-hero .hero-content > :nth-child(3) { animation-delay: .22s; }
}
/* Abdunkeln nur dort, wo der Text steht – das Bild bleibt hell */
.article-hero .hero-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, transparent 18%, transparent 48%, rgba(0, 0, 0, .72) 100%); }
.article-hero .hero-content { max-width: 980px; }
.article-hero .hero-content h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem); line-height: 1.05; letter-spacing: -.028em; font-weight: 700; text-shadow: 0 2px 26px rgba(0, 0, 0, .35); }
.article-hero .hero-meta { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.article-hero__zoom {
  position: absolute; top: 18px; right: 18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .38); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: zoom-in; transition: background .2s;
}
.article-hero__zoom:hover { background: rgba(0, 0, 0, .6); }
.article-hero__next {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none;
}
.article-hero__next:hover { color: #fff; background: rgba(255, 255, 255, .3); }
@media (prefers-reduced-motion: no-preference) { .article-hero__next i { animation: gbNudge 2.4s var(--gb-ease) 1.5s 3; } }
@keyframes gbNudge { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }
/* Inhalt beginnt unter dem Bild (keine Überlappung mehr, die das Motiv verdeckt) */
.article-hero + * .article-container, .article-hero ~ .article-container, .article-hero ~ .modern-event-article { margin-top: 28px; }
#inhalt { scroll-margin-top: calc(var(--gb-header-h, 64px) + 16px); }
@media (max-width: 768px) {
  .article-hero { min-height: 0; height: auto; aspect-ratio: 4 / 5; max-height: 78svh; padding-bottom: 64px; }
  .article-hero .hero-content h1 { font-size: clamp(1.9rem, 1.2rem + 4vw, 2.6rem); }
  .article-hero__zoom { top: 12px; right: 12px; width: 40px; height: 40px; }
  .article-hero__next { bottom: 14px; width: 38px; height: 38px; margin-left: -19px; }
  .article-hero ~ .article-container, .article-hero ~ .modern-event-article { margin-top: 16px; }
}
