* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background-color: var(--brand-dark);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
    flex-grow: 1;
}

.site-footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.site-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .site-footer-content {
        flex-direction: row;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-turquoise);
}

/* Mobile Optimierungen für den Header */
@media (max-width: 640px) {
    .brand-subtitle {
        display: none; /* Untertitel auf Smartphones komplett verstecken */
    }
    .brand-title {
        font-size: 1rem; /* Titel etwas kompakter machen */
    }
    .brand-logo img {
        height: 36px; /* Logo auf Mobile etwas kleiner */
    }
    .site-header-inner {
        padding: 0.75rem 1rem;
    }
}