* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-line {
    height: 4px;
    background: linear-gradient(90deg, #d32f2f, #ff1744);
}

.logo-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #424242;
}

.logo-bfw {
    height: 50px;
    border-radius: 8px;
}

.logo-campus {
    height: 45px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 50px;
    background: #424242;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Main Content */
main {
    margin-top: 120px;
}

.section {
    padding: 80px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 60px;
    color: #d32f2f;
    font-family: 'Courier New', monospace;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d32f2f, #ff1744);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(211,47,47,0.9), rgba(255,23,68,0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    color: white;
    text-align: center;
    padding: 120px 50px 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 30px;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #d32f2f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #d32f2f;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 1.1em;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.stat-links {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    min-height: 20px;
}

.stat-links a {
    display: block;
    color: #d32f2f;
    text-decoration: none;
    font-size: 0.9em;
    margin: 5px 0;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.stat-links a:hover {
    background: rgba(211, 47, 47, 0.1);
    transform: translateX(5px);
}

/* IT Berufe Grid */
.berufe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.beruf-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #d32f2f;
    transition: transform 0.3s ease;
}

.beruf-card:hover {
    transform: translateY(-5px);
}

.beruf-card h3 {
    color: #d32f2f;
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: bold;
}

.beruf-card h4 {
    color: #d32f2f;
    margin: 20px 0 10px 0;
    font-size: 1.1em;
}

.beruf-card ul {
    list-style: none;
    padding-left: 0;
}

.beruf-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.beruf-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: bold;
}

/* Chart Container */
.chart-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin: 40px 0;
    border-left: 5px solid #d32f2f;
}

.chart-wrapper {
    position: relative;
    height: 400px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #d32f2f;
}

.contact-card h3 {
    color: #d32f2f;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.contact-card strong {
    color: #d32f2f;
}

/* Footer */
.footer {
    background: #424242;
    color: white;
    text-align: center;
    padding: 30px 50px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer p {
    font-size: 1em;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer span {
    color: #ff1744;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-section {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-menu {
        padding: 15px 20px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.8em;
        padding: 6px 12px;
    }

    .section {
        padding: 60px 20px;
    }

    .hero {
        padding: 120px 20px 80px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .section-title {
        font-size: 2em;
    }

    .stats-grid,
    .berufe-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .chart-container {
        padding: 20px;
    }

    .chart-wrapper {
        height: 300px;
    }

    .footer {
        padding: 20px;
    }

    .footer p {
        font-size: 0.9em;
    }
}

/* Smooth scrolling enhancement */
.nav-menu a[href^="#"] {
    cursor: pointer;
}