@charset "UTF-8";

html {
    /*height: 100%;*/
}

body {
    font-family: Helvetica, sans-serif;
    font-size: 100%;
    margin: 0;
    /*height: auto !important;*/
    /*height: 100%;*/
    /*position: relative;
    min-height: 100%;*/
    /*margin: 0 auto;*/
    /*padding: 1em;*/
    /*max-width: 960px;*/
}

.breitenbegrenzung {
    max-width: 960px;
    margin: 0 auto;
    /*padding-left: 0.5em;
    padding-right: 0.5em;*/
}

.wrap {
    padding: 0 1em;
}

.clear {
    clear: both;
}

a img { /* Border bei IE ausschalten */
    border: 0;
}

header {
    /*overflow: hidden;*/
    /*border-bottom: 1px dotted rgba(100,100,100,0.3);*/
    /*padding-bottom: 0.5em;
    padding-top: 0.5em;*/
    /*margin-left: 0.5em;*/
    /*padding-right: 0.5em;*/
}

header div {
    overflow: hidden;
    border-bottom: 1px dotted rgba(100,100,100,0.3);
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

header span {
    float: left;
}

header img {
    
}

header nav {
    padding-top: 1.5em; /* Die Navi-Leiste etwas hinabsetzen */
}

header ul {
    float: left;
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-left: 1em;
}

header ul li {
    float: left;
    /*display: inline;*/
    margin-right: 1em;
}

header ul li a {
    display: block;
    padding: 0.8em 0.8em;
    /*background-color: #E6E6E6;*/
    font-size: large;
    text-decoration: none;
    color: rgba(0,0,0,0.6);
    text-shadow:  1px 1px 2px rgba(100,100,100,0.2); /* Not in IE */
}

header ul li a:hover {
    color: rgba(0,0,0,0.7);
}

header ul li a:active {
    color: #002EB8;
}

section#intro {
    /*clear: both;*/
    background-image: url(back.jpg);
    background-position: 50% 40%;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1em;
    margin-bottom: 2em;
    padding-top: 3em;
    padding-bottom: 3em;
    padding-left: 3em; /* Kann sich verkleinern */
}

section#intro h1,h2 {
    color: white;
    text-shadow: -1px -1px 2px rgba(100,100,100,0.4); /* No IE */
}

section#intro h1 {
    /*font-size: 1.5em;*/
}

section#intro h2 {
    font-size: 1.2em;
}

section#intro.main { /* Intro auf der Startseite grösser */
    padding-top: 7em;
    padding-bottom: 7em;
    background-position: 50% 40%;
}

section#content {
    padding-bottom: 1em;
}

.imagebox {
    margin-top: 2em;
    /*float: left;*/
    clear: left;
}

.imagebox img {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.imagebox p {
    padding-top: 1em;
}

blockquote {
    text-indent: 1em;
    position: relative; /* indent links sichtbar machen */
    left: 1em;
    /*padding-left: 1em;*/
    font-style: italic;
    color: rgb(80,80,80);
    /*border: dashed 1px black;*/
    quotes: "\201C" "\201D";
    overflow: hidden;
    min-width: 10em;
}
blockquote:before {
    content: open-quote;
    font-weight: bold;
}

blockquote:after {
    content: close-quote;
    font-weight: bold;
}

footer {
    /*min-height: 4em;
    text-align: center;*/
    margin-top: 1em;
    /*padding-top: 1em;*/
    /*height: auto !important;
    height: 100%;*/
    /*height: 100%;*/
    /*width: 100%;
    position: absolute;
    bottom: 0;*/
}

footer div {
    border-top: 1px dotted rgba(100,100,100,0.3);
    min-height: 4em;
    text-align: center;
    padding-top: 1em;
    font-size: small;
    color: rgb(150,150,150);
}

@media screen and (min-width: 768px) {
    /* Hier kommt alles speziell für die grossen Bildschirme */

}

@media screen and (max-width: 625px) { /* Switch der Navileiste genau bei 625px */
    /* Hier kommt alles, falls sich Bildschirm verkleinert! */
    .wrap {
        padding: 0 0.4em;
    }
    
    section#intro {
        padding-left: 0.8em; /* linker Abstand verkleinern */
    }
    
    header ul {
        margin-left: 0; /* Linker Abstand Navileiste verkleinern */
    }
    
    header ul li {
        margin-right: 0.1em; /* Abstand zwischen Navielementen verkleinern */
    }
    
    .imagebox img { /* Bilder etwas verkleinern */
    width: 180px;
    }
}

@media screen and (max-width: 320px) { /* Iphone und co. */
    h1 {
        font-size: 1.2em;
    }
    
    header ul li a { /* Navi-Elemente müssen sich verkleinern, um alles auf einer Linie abzubilden */
        padding: 0.8em 0.4em;
    }
    
    section#intro.main { /* Intro muss kleiner werden! */
        padding-top: 2em;
        padding-bottom: 2em;
    }
    
    section#intro {
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }
    
    section#intro h1 {
        font-size: 1.2em;
    }
    
    section#intro h2 {
        font-size: 1em;
    }
    
    blockquote {
        left: 0; /* Randabstand wieder entfernen */
    }
    
    .imagebox img { /* Bilder fürs Iphone verkleinern */
        width: 120px;
    }
    
    .imagebox p { /* Textabstand verkleinern */
        padding-top: 0.2em;
    }
}