/* ===== GRUNDLEGENDE STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Bootstrap text-primary überschreiben */
.text-primary {
    color: var(--primary-color) !important;
}

/* Bootstrap bg-primary überschreiben */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Bootstrap btn-outline-primary überschreiben */
.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    color: var(--white) !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary.active {
    color: var(--white) !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.bg-primary-lighter {
    background-color: var(--primary-lighter) !important;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* Sicherstellen, dass kombinierte Klassen den gewünschten Effekt haben */
.lead.text-white {
    color: #ffffff !important;
}

/* ===== LAYOUT ===== */
.main-content {
    padding-top: var(--navbar-height, 120px);
    min-height: calc(100vh - var(--navbar-height, 120px));
}

/* Mobile Anpassung für Header-Abstand */
@media (max-width: 768px) {
    .main-content {
        padding-top: calc(var(--navbar-height, 120px) + 16px);
    }
    
    .hero-section {
        padding-top: 90px;
        padding-bottom: 1.5rem;
    }
}