/* Variablen für das Farbschema */
:root {
    --primary-red: #cc0000;
    --dark-red: #990000;
    --light-red: #ff1a1a;
    --primary-black: #1a1a1a;
    --light-black: #333333;
    --background-gray: #f5f5f5;
    --text-gray: #666666;
}

/* Basis-Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Styling */
nav {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    height: 40px;
    width: auto;
}

.logo {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s;
}

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

.nav-links a.active {
    color: var(--primary-red);
    font-weight: bold;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-red);
}

/* Hauptcontainer */
main {
    max-width: 1200px;
    margin: 80px auto 40px;
    padding: 2rem;
    flex: 1;
}

/* Hero-Sektion */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero h1 {
    color: var(--primary-black);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Newsletter-Formular Container */
.newsletter-container {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

/* Formular-Styling */
.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary-red);
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--dark-red);
}

.success-message {
    display: none;
    color: #28a745;
    text-align: center;
    margin-top: 1rem;
}

/* Footer Styling */
footer {
    background-color: var(--primary-black);
    color: white;
    padding: 3rem 1rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--light-red);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: #ffffff99;
    margin: 0.5rem 0;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #ffffff33;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .newsletter-container {
        margin: 0 1rem;
    }
}

/* Datenschutz und Impressum Styling */
.privacy-section, .imprint-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.privacy-section h2, .imprint-section h2 {
    color: var(--primary-red);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-section h3 {
    color: var(--primary-black);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-section p, .imprint-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-toc {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.privacy-toc ul {
    list-style-type: none;
    padding: 0;
}

.privacy-toc li {
    margin-bottom: 0.5rem;
}

.privacy-toc a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-toc a:hover {
    color: var(--primary-red);
}

.info-box, .contact-info {
    background: var(--background-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Über Uns Seite Styling */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem 0;
}

.timeline-item {
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 2px solid var(--primary-red);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--primary-red);
    border-radius: 50%;
}