/* ================================================
   HOMEPAGE CLEAN DESIGN — Tucholsky Kiel 2026
   Professional, Minimal, Premium Dark Theme
   Overrides legacy neon/disco styles
   ================================================ */

:root {
    --bg-primary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --bg-surface: #1a1a1a;
    --accent: #d6238f;
    --accent-hover: #e83da3;
    --accent-subtle: rgba(214, 35, 143, 0.08);
    --accent-glow: rgba(214, 35, 143, 0.15);
    --text-primary: #f5f5f5;
    --text-secondary: rgba(255,255,255,0.65);
    --text-muted: rgba(255,255,255,0.4);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── SCROLL: Only html scrolls. Body never scrolls. ── */
html {
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-padding-top: 100px;
    height: auto;
}
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: visible;
    min-height: 100vh;
    position: relative;
}

/* ── Kill only the neon pseudo-elements ── */
.disco-card::before,
.disco-card::after {
    display: none !important;
}

#about-us::before,
#about-us::after {
    display: none !important;
}

/* ── Neon Divider → Subtle line ── */
.neon-divider {
    height: 1px !important;
    background: var(--border) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    animation: none !important;
}

/* ── HERO SECTION ── */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .overlay {
    background: linear-gradient(180deg,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(10,10,10,0.95) 100%
    ) !important;
}

.hero-section .content {
    text-align: center;
    max-width: 700px;
    padding: 40px 24px;
}

.hero-section .content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 16px;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    color: #fff;
    text-shadow: none;
}

.hero-section .content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
    font-weight: 400;
}

/* Hero Buttons */
.hero-section .hero-buttons {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-section .hero-button {
    padding: 14px 32px !important;
    background: var(--accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    transition: all var(--transition) !important;
    box-shadow: none !important;
    animation: none !important;
    background-size: 100% !important;
}

.hero-section .hero-button:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(214, 35, 143, 0.3) !important;
    animation: none !important;
}

/* Show More Events Button */
.show-more-events-container {
    text-align: center;
    margin-top: 48px;
}

.show-more-events-container .hero-button {
    padding: 14px 36px !important;
    background: var(--accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    animation: none !important;
    background-size: 100% !important;
    transition: all var(--transition) !important;
}

.show-more-events-container .hero-button:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(214, 35, 143, 0.3) !important;
}

/* ── ABOUT SECTION ── */
#about-us {
    background: var(--bg-primary);
    padding: 100px 0 80px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

#about-us .about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

#about-us h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    font-family: 'Inter', sans-serif !important;
}

#about-us > .about-container > p {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: var(--text-secondary) !important;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

/* Feature Cards */
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.feature-item {
    padding: 32px 24px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    text-align: center;
    transition: all var(--transition) !important;
}

.feature-item:hover {
    background: var(--bg-card-hover) !important;
    border-color: rgba(214, 35, 143, 0.2) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3) !important;
}

.feature-item svg,
.feature-item .icon {
    color: var(--accent) !important;
    fill: var(--accent) !important;
    margin-bottom: 16px;
    width: 28px !important;
    height: 28px !important;
}

.feature-item h3 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px !important;
}

.feature-item p {
    font-size: 0.875rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .about-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .about-features { grid-template-columns: 1fr; }
}

/* ── EVENTS SECTION ── */
.event-index,
#events {
    background: var(--bg-primary);
    padding: 80px 0;
}

.events-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.events-container h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 48px !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

/* ═══════════════════════════════════════
   EVENT CARDS — New BEM classes (ev-*)
   Zero conflicts with main.min.css
   ═══════════════════════════════════════ */

/* Grid */
.ev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

/* Card */
.ev-card {
    display: flex;
    flex-direction: column;
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.ev-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214,35,143,0.25);
    box-shadow: 0 24px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(214,35,143,0.08);
}

/* Image Area — full photo visible */
.ev-card__img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a0a0a;
    cursor: pointer;
    text-decoration: none;
}

.ev-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease, filter 0.4s ease;
    display: block;
}

.ev-card:hover .ev-card__img img {
    transform: scale(1.04);
    filter: brightness(0.7);
}

/* Hover overlay — accent transparent */
.ev-card__img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(214,35,143,0.3) 0%, rgba(10,10,10,0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.ev-card:hover .ev-card__img::before {
    opacity: 1;
}

/* Subtle gradient on bottom for badges readability */
.ev-card__img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Date & Time Badges — overlaid on image */
.ev-card__badges {
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ev-card__date {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: rgba(214,35,143,0.88);
    backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.4;
}

.ev-card__time {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 0.78rem;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.4;
}

/* Card Body */
.ev-card__body {
    display: flex;
    flex-direction: column;
    padding: 16px 18px 18px;
    flex: 1;
}

/* Title */
.ev-card__title-link {
    text-decoration: none;
    color: inherit;
}

.ev-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.ev-card:hover .ev-card__title {
    color: #fff;
}

/* Description */
.ev-card__desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.55;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.ev-card:hover .ev-card__desc {
    color: rgba(255,255,255,0.55);
}

/* Action Buttons */
.ev-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.ev-card__btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: inherit;
}

.ev-card__btn--ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
}

.ev-card__btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
}

.ev-card__btn--primary {
    flex: 1.3;
    background: #d6238f;
    border: 1px solid #d6238f;
    color: #fff;
    box-shadow: 0 3px 12px rgba(214,35,143,0.2);
}

.ev-card__btn--primary:hover {
    background: #e83da3;
    border-color: #e83da3;
    box-shadow: 0 6px 20px rgba(214,35,143,0.35);
}

/* Responsive */
@media (max-width: 960px) {
    .ev-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .ev-grid { grid-template-columns: 1fr; gap: 16px; }
    .ev-card__img { aspect-ratio: 16 / 10; }
    .ev-card__body { padding: 14px 16px 16px; }
    .ev-card__title { font-size: 0.95rem; }
}

/* ── NEWSLETTER — Keep background-image from inline style ── */
#newsletter {
    position: relative;
    padding: 80px 20px !important;
    border-top: 1px solid var(--border);
}
/* Don't override background — it's set inline with background-image */

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 60px) !important;
        margin-top: 60px !important;
    }

    .hero-section .content {
        padding: 24px 20px !important;
    }

    .hero-section .content .hero-logo {
        width: 180px !important;
        max-width: 180px !important;
        height: auto !important;
    }

    .hero-section .content h1 {
        font-size: 1.75rem !important;
    }

    .hero-section .hero-buttons {
        flex-direction: column !important;
        max-width: 260px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-section .hero-button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 14px 24px !important;
    }

    #about-us {
        padding: 60px 0 40px;
    }

    .event-index, #events {
        padding: 60px 0;
    }

    .events-container h2,
    #about-us h2 {
        font-size: 1.6rem !important;
    }

    html {
        scroll-padding-top: 70px; /* smaller on mobile — single navbar ~60px */
    }
}

/* ── Override stale page-container margin from _unified_menu ── */
/* Homepage hero intentionally goes under transparent navbar */
.hero-section ~ #about-us,
.hero-section ~ #events,
.hero-section ~ #newsletter {
    scroll-margin-top: 120px;
}
