body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 600;
    color: #ffffff;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: #e53935;
    text-decoration: none;
}

hr {
    border: 0;
    border-top: 1px solid #444;
    margin: 30px 0;
}

/* Hero-Sektion */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 40px 20px;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 20px 0;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ccc;
}

.hero-content h3 {
    font-size: 1.2rem;
    margin: 20px auto;
    max-width: 800px;
    color: #aaa;
    line-height: 1.6;
}

.hero-info {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.language-switcher {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1000;
}

/* KORREKTUR: Logo ohne großen margin-top */
.logo {
    margin-bottom: 30px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

#lang-select {
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#lang-select:hover {
    background-color: #444;
}

/* QR Code Section */
.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}

.qr-code-image {
    width: 150px;
    height: 150px;
    border: 3px solid #e53935;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
}

.qr-link {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e53935;
    transition: color 0.3s ease;
}

.qr-link:hover {
    color: #c42c28;
    text-decoration: underline;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    background-color: #e53935;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #c42c28;
}

/* Inhalts-Sektionen */
.content-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dark-section {
    background-color: #1a1a1a;
}

/* Grid-Layout für Inhalte */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.grid-item {
    background-color: #252525;
    padding: 20px;
    border-left: 4px solid #e53935;
    border-radius: 4px;
}

.grid-item h3 {
    margin-top: 0;
}

/* Features-Layout */
.features-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature {
    background-color: #2c2c2c;
    padding: 25px;
    border-radius: 8px;
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.feature h3 {
    color: #e53935;
    margin-top: 0;
}

/* Formularstile */
#anmeldung h2 {
    margin-bottom: 10px;
}

.hinweis {
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
    color: #aaa;
}

#registrationForm {
    max-width: 700px;
    margin: 0 auto;
    background-color: #252525;
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #333;
    color: #fff;
    box-sizing: border-box;
    font-size: 16px;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: #e53935;
}

.radio-option, .checkbox-option {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.radio-option input,
.checkbox-option input {
    cursor: pointer;
}

.radio-option label, 
.checkbox-option label {
    margin-left: 10px;
    cursor: pointer;
}

#priceSummary {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 20px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
}

#priceSummary h3 {
    margin: 0;
}

#totalPrice {
    color: #e53935;
    font-weight: bold;
}

.form-feedback {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    padding: 15px;
    border-radius: 5px;
}

.form-feedback.success {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.form-feedback.error {
    color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    color: #777;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h3 {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .qr-code-image {
        width: 120px;
        height: 120px;
    }
    
    .logo img {
        max-height: 200px;
    }
    
    .features-container {
        flex-direction: column;
    }
    
    .feature {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    #registrationForm {
        padding: 20px;
    }
}