/* 1. GRUND-DESIGN & HINTERGRUND */
body, html {
    background-color: black;
    background-image: url(img/body-bg.png); 
    background-position: top;
    background-repeat: repeat-x;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    height: 101%;
    color: #333;
}

/* 2. DER HAUPT-CONTAINER */
#main {
    width: 704px;
    margin: 0 auto;
    min-height: 400px;
}

/* 3. HEADER */
#kopf {
    width: 704px;
    height: 166px;
    background-image: url(img/schein.png);
    background-repeat: no-repeat;
    background-position: center top;
}

#kopf img {
    display: block;
    margin: 0 auto;
    padding-top: 25px; 
    border: none;
    max-width: 100%;
}

/* 4. INHALTSBEREICH */
#contentbereich {
    width: 704px; 
    box-sizing: border-box; 
    border-left: 3px solid #ecc400;
    border-right: 3px solid #ecc400;
    background-color: #f6f6f6;
    background-image: url(img/band-top.png);
    background-position: top;
    background-repeat: no-repeat;
    margin: 0 auto;
    display: table; 
}

/* 5. NAVIGATION */
#menucontainer {
    width: 100%;
    margin-top: 85px; 
}

#menucontainer .moduletable {
    height: 45px;
    padding-top: 3px;
    background-image: url(img/menu-bg.png); 
    background-repeat: no-repeat;
    background-color: #333; 
}

#menucontainer ul {
    margin: 0;
    padding: 10px 0 0 0;
    text-align: center;
    list-style: none;
}

#menucontainer ul li {
    display: inline;
    margin-right: 15px;
}

#menucontainer a {
    text-decoration: none;
    color: #848484;
    font-weight: bold;
}

#menucontainer a:hover, #menucontainer li#current a {
    color: #000;
    text-decoration: none;
}

/* 6. TEXT-LAYOUT */
#page {
    padding: 0 40px 30px 40px;
}

.contentheading {
    font-size: 24px;
    text-align: center;
    margin: 35px 0;
    color: #000;
    font-weight: normal;
    display: block;
}

#page p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #000;
}

/* 7. SPALTEN-LOGIK (Startseite) */
.article_row {
    clear: both;
    overflow: hidden;
}

.spalte-links, .spalte-rechts {
    float: left;
    width: 202px;
}

.spalte-links {
    margin-left: 98px; 
    margin-right: 102px;
}

.spalte-links img, .spalte-rechts img {
    border: solid 1px #ecc400;
    width: 200px;
    height: 150px;
    display: block;
}

.spalte-links h3, .spalte-rechts h3 {
    font-size: 13px;
    background-image: url(img/dp1.png); 
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 22px;
    margin: 10px 0 30px 0;
    font-weight: bold;
}

/* 8. SPEZIELLE LISTEN */
.dienstleistungs-liste {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.dienstleistungs-liste li {
    padding: 0 0 8px 22px;
    background-image: url(img/dp1.png);
    background-position: left center;
    background-repeat: no-repeat;
    line-height: 1.6;
    color: #000;
}

/* 9. REFERENZEN (Optimierte Boxen) */
.ref {
    background-color: #333;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: #fff;
    border-left: 4px solid #ecc400;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.ref h2 {
    color: #ecc400;
    font-size: 16px;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ref h3 {
    font-size: 13px;
    margin: 0;
    font-weight: normal;
    color: #ccc;
}

/* 10. FOOTER */
#footer {
    width: 704px; 
    box-sizing: border-box;
    border-left: 3px solid #ecc400;
    border-right: 3px solid #ecc400;
    background-image: url(img/band-bottom.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-color: #f6f6f6;
    padding: 50px 20px 20px 0; 
    text-align: right; 
    font-size: 11px;
    margin: 0 auto;
    clear: both;
}

#footer .moduletable ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .moduletable ul li {
    display: inline;
    margin-left: 10px;
}

#footer a {
    text-decoration: none;
    color: #000;
}

.clear { clear: both; }

/* 11. MOBILE ANPASSUNG */
@media (max-width: 720px) {
    #main, #kopf, #contentbereich, #footer {
        width: 100%;
        max-width: 100%;
    }
    .spalte-links, .spalte-rechts {
        float: none;
        width: 200px;
        margin: 10px auto;
        text-align: center;
    }
}