/* includes/custom.css */

/* Kopfbereich */
.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    height: 150px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1020;
}

.header-content {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img,
.header-user img {
    max-height: 50px;
    width: auto;
}

.header-title {
    flex-grow: 1;
    text-align: center;
}

.header-title h1 {
    color: white;
    font-size: 2rem;
    margin: 0;
}

/* Navigation */
#cms-menu {
    position: fixed;
    top: 150px; /* direkt unter Header */
    width: 100%;
    z-index: 1010;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

/* Abstand für Content */
body {
    padding-top: 200px; /* 150px Header + ca. 50px Navigation */
    background-color: #f8f9fa;
}

/* Main Content Bereich */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #fff;
    min-height: 600px;
}

.footer-wrapper {
    width: 100%;
    color: #000;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.footer-content > div {
    flex: 1 1 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .header-title {
        flex: 1;
        text-align: center;
    }

    .footer-content > div {
        flex: 1;
    }
}