/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #D32F2F; 
    --primary-dark: #B71C1C; 
    --secondary-color: #212121; 
    --text-color: #424242; 
    --light-bg: #f5f5f5; 
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3 {
    color: var(--secondary-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--secondary-color);
    padding: 0.5rem 0; /* Etwas weniger Padding, da das Logo höher ist */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--white);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ÄNDERUNG: Neues Styling für das Bild-Logo */
.logo-image {
    height: 70px; /* Passen Sie die Höhe bei Bedarf an */
    width: auto;
    display: block;
}
/* Die alten Regeln für .logo-container, .logo-icon etc. wurden entfernt */


.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

#lang-switch {
    border: 1px solid var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
}

#lang-switch:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Buttons */
.btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(33,33,33,0.8), rgba(33,33,33,0.8)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover, .btn-submit:hover {
    background: var(--primary-dark);
}

/* Sections */
section {
    padding: 80px 0;
}

.about-section {
    background: var(--white);
    text-align: center;
}
.about-section h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}

/* Form Styling */
.contact-section {
    background: var(--light-bg);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-section p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
    border-top: 5px solid var(--primary-color);
}

form h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
    color: var(--primary-color);
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 8px;
    width: auto;
    transform: scale(1.2);
    accent-color: var(--primary-color);
}


.other-input {
    margin-top: 10px;
    width: 100%;
    display: block;
}

.hidden {
    display: none;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
}

#status-message {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media(max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 20px;
    }
    .nav-links li {
        margin: 0 10px;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    form {
        padding: 20px;
    }
}