/* ---------- Basis ---------- */

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

body {
    background: #120B7D;
    font-family: Arial, Helvetica, sans-serif;
    color: #555;
    line-height: 1.6;
}

/* ---------- Gesamtlayout ---------- */

.page-container {
    width: 940px;
    margin: 0 auto;
    min-height: 100vh;
    background: #120B7D;

    display: flex;
    flex-direction: column;
}

/* ---------- Header ---------- */

.hero {
    width: 100%;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- full-width-divider ---------- */
.full-width-divider {
    height: 10px;
    background: white;

    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* ---------- Inhalt + Menü ---------- */

.main-layout {
    display: flex;
    align-items: stretch;
    flex: 1;
}

/* ---------- Linke Navigation ---------- */

.sidebar {
    width: 196px;
    min-height: 700px;
    background: #120B7D;
    border-right: 4px solid #ffffff;
}

.navigation {
    padding-top: 0px;
    padding-right: 15px;
}

.navigation ul {
    list-style: none;
}

.navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.navigation a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 35px;
    font-size: 14px;
}

.navigation a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.navigation a.active {
    font-weight: bold;
    color: #ffffff;
}

/* ---------- Inhaltsbereich ---------- */

.content-area {
    flex: 1;
    background: #ecebe5;
    min-height: 700px;
    border-right: 4px solid #ffffff;
}

.content {
    padding: 35px;
}

#text {
    max-width: 640px;
    text-align: justify;
}

#text h1 {
    font-size: 32px;
    color: #3f3f3f;
    margin-bottom: 25px;
}

#text h2 {
    color: #3f3f3f;
    margin-bottom: 15px;
}

#text p {
    margin-bottom: 18px;
}

#text ul {
    margin-top: 20px;
    margin-left: 25px;
}

#text li {
    margin-bottom: 12px;
}

/* ---------- Alte Joomla-Klassen ---------- */

#textlinks {
    width: 48%;
    float: left;
    text-align: justify;
}

#textrechts {
    width: 48%;
    float: right;
    padding-left: 5px;
}

#foto {
    margin: 20px 0;
}

#foto img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- Footer ---------- */

footer {
    clear: both;
    padding: 20px 35px;
    border-top: 1px solid #d5d5d5;
    color: #777;
    background: #ecebe5;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {

    .page-container {
        width: 100%;
    }

    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
    }

    .content {
        padding: 25px;
    }

    #textlinks,
    #textrechts {
        width: 100%;
        float: none;
    }
}