:root {
    --primary-color: #d30000;
    --primary-dark: #8a0000;
    --bg-color: #050505;
    --surface-color: rgba(25, 25, 25, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo, .footer-title {
    font-family: 'Cinzel', serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-color);
}

/* Hero Section */
.hero-container {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Focus on the upper body/face */
    filter: brightness(0.6) contrast(1.1) saturate(1.2);
    animation: scaleImage 20s infinite alternate ease-in-out;
}

@keyframes scaleImage {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.7) 70%, rgba(5, 5, 5, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(211, 0, 0, 0.6);
    background: linear-gradient(135deg, #ffffff, #ffb3b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: rgba(211, 0, 0, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    box-shadow: 0 0 25px rgba(211, 0, 0, 0.6);
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    padding: 8rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.lead-text {
    font-size: 1.3rem !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem !important;
}

.info-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.info-box.accent {
    border-color: rgba(211, 0, 0, 0.3);
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.6), rgba(40, 0, 0, 0.2));
}

.info-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.event-list {
    list-style: none;
    color: var(--text-secondary);
}

.event-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.event-list li strong {
    color: var(--text-primary);
}

.event-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-list a:hover {
    color: #ff4d4d;
    text-decoration: underline;
}

/* Ticket Section */
.ticket-section {
    padding: 8rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.ticket-section h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ticket-section > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-inline: auto;
}

.ticket-form {
    background: var(--surface-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* Form subtle glow */
.ticket-form::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
    pointer-events: none;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.half-width {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Custom styling for select dropdown */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1em;
    cursor: pointer;
}

.form-group select option {
    background: #151515;
    color: #ffffff;
    padding: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(211, 0, 0, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.submit-button {
    width: 100%;
    padding: 1.4rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(211, 0, 0, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

/* Sponsor Section */
.sponsor-section {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-color);
}

.sponsor-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.sponsor-logos img {
    max-width: 15vw;
    height: auto;
}

.sponsor-logos img:hover {
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.5);
}

.footer-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

.impressum-link {
    margin-top: 1rem;
}

.impressum-link a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.impressum-link a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .ticket-section {
        padding: 5rem 1rem;
    }
    
    .ticket-form {
        padding: 2rem;
        border-radius: 16px;
    }

    .sponsor-logos img {
        max-width: 40vw;
        height: auto;
    }
}

@media (max-width: 450px) {
     .info-box h3{
        font-size: 1.1rem;
    }
}
