/* ======================
   RESET & BASICS
====================== */
@import url('https://fonts.googleapis.com/css2?family=Barriecito&family=DM+Serif+Text:ital@0;1&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Serif Text", serif;
        font-weight: 400;
        font-style: normal;
}

body {
    font-family: "Inter", sans-serif;
    background: #000000;
    color: #eaeaf0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ======================
   HERO
====================== */
.hero {
    background: linear-gradient(rgba(87, 20, 92, 0.418),
            rgba(38, 7, 105, 0.091)),
        url("/theCountdown/pics/background.jpg") center/cover no-repeat;
    padding: 140px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    color: #d2d4ff;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #2b082a, #4e2aa6);
    color: #fff;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 63, 222, 0.4);
    background: linear-gradient(135deg, #280e5b, #ff00c3);
}

/* ======================
   SPONSORS
====================== */
.sponsors-section {
    padding: 80px 20px;
    text-align: center;
}

.sponsors-section h1 {
    font-size: 2.6rem;
    margin-bottom: 50px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: auto;
}

.sponsor-card {
    background: linear-gradient(145deg, #351a3bb6, #1d063061);
    padding: 25px 20px;
    border-radius: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(48, 56, 79, 0.35);
}

.sponsor-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.sponsor-logo {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.sponsor-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.sponsor-card p:first-of-type {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.sponsor-card p:last-of-type {
    font-size: 0.95rem;
    color: #f0f0f06f;
}

/* ======================
   TESTIMONIALS
====================== */
.testimonials {
    background: #11142c;
    padding: 80px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.3rem;
    margin-bottom: 40px;
}

.testimonial-card {
    background: #1a1d40;
    padding: 30px;
    border-radius: 16px;
    max-width: 750px;
    margin: 15px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ======================
   CTA
====================== */
.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #7b3fe4, #3d1f91);
    text-align: center;
}

.cta h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.cta p {
    margin-bottom: 25px;
}

/* ======================
   FOOTER
====================== */
.footer {
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    color: #aaa;
}

/* ======================
   MOBILE
====================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .sponsors-section h1 {
        font-size: 2rem;
    }
}

.kremmesnachrechts {
    margin-left: 700px;
}

.site-footer {
    background: #0b0d12;
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ================= HEADER ================= */
.site-header {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.406);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-weight: 700;
    letter-spacing: 2px;
}

.main-nav a {
    margin-left: 24px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
}

.nav-btn {
    padding: 8px 16px;
    border: 1px solid var(--accent);
    border-radius: 999px;
}

/* ======================
   MOBILE OPTIMIERUNG – CSS 2
====================== */
@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 100%;
        padding: 0 16px;
    }

    /* HEADER */
    .main-nav {
        display: none;
    }

    /* HERO */
    .hero {
        height: auto;
        padding: 140px 0 80px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    /* SPLIT LAYOUT */
    .split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* CARDS */
    .card,
    .price-card {
        padding: 26px;
    }

    /* FAQ */
    .faq-container {
        margin-left: 0;
        flex-direction: column;
    }

    .faq-image img {
        max-width: 100%;
    }

    .box {
        max-width: 100%;
        margin-right: 0;
    }

    /* MAP */
    .map-wrapper iframe {
        height: 280px;
    }

    /* FOOTER */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

@media (max-width: 768px) {
    .kremmesnachrechts {
        margin-left: 0 !important;
    }
}
}


/* =====================================
   🔥 MOBILE FIX – FINAL (CSS 1 + CSS 2)
===================================== */
@media (max-width: 768px) {

    /* ===== GLOBAL ===== */
    body {
        font-size: 15px;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding: 0 16px;
    }

    .section {
        padding: 70px 0;
    }

    /* ===== HEADER ===== */
    .header-inner {
        height: 60px;
    }

    .main-nav {
        display: none;
    }

    /* ===== HERO ===== */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 16px 70px;
        text-align: center;
    }

    .hero h1,
    .hero h2 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 1rem;
    }

    /* ===== SPLIT / GRID ===== */
    .split,
    .about-split {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* ===== CARDS ===== */
    .card,
    .price-card,
    .service-card,
    .sponsor-card,
    .testimonial-card {
        padding: 24px;
    }

    /* ===== FAQ ===== */
    .faq-container {
        margin-left: 0;
        flex-direction: column;
        gap: 30px;
    }

    .faq-image img {
        max-width: 100%;
    }

    .box {
        max-width: 100%;
        margin: 0;
    }

    /* ===== MAP ===== */
    .map-wrapper iframe {
        height: 260px;
    }

    /* ===== TEAM ===== */
    .team-card img {
        width: 130px;
        height: 130px;
    }

    /* ===== SERVICES ===== */
    .service-card img {
        height: 200px;
    }

    .dj-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* ===== BUTTON NEBEN LISTE ===== */
    .list-button-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .btn-modern {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    /* ===== FOOTER ===== */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* ===== ❌ HARTE FIXES ===== */
    .kremmesnachrechts {
        margin-left: 0 !important;
    }
}

/* =================================
   MOBILE HEADER – GANZ OBEN FIX
================================= */
@media (max-width: 768px) {

    /* KEIN ABSTAND OBEN */
    html,
    body {
        margin: 0;
        padding: 0;
    }

    /* HEADER */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(15, 17, 21, 0.92);
        z-index: 9999;
    }

    .header-inner {
        height: auto;
        padding: 6px 0;
        flex-direction: column;
        gap: 4px;
    }

    /* LOGO */
    .logo {
        font-size: 1rem;
        line-height: 1;
    }

    /* NAV */
    .main-nav {
        display: flex !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .main-nav a {
        margin: 0;
        padding: 5px 10px;
        font-size: 0.8rem;
        line-height: 1.1;
    }

    .main-nav .nav-btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    /* CONTENT NICHT UNTER HEADER */
    body {
        padding-top: 72px;
    }
}

/* Navigation Links */
.main-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    position: relative;
    transition: color 0.3s, transform 0.3s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background: linear-gradient(to right, #360d69, #af24a1);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #cabdff;
    transform: translateY(-2px);
}