/*  © 2016 Hans-Jörg Rüstemeier, http:://ruestemeier.net */

/*  ========================
    Schriften von Google
    ========================  */

/* lato-300 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'),
       url('../fonts/lato-v14-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/lato-v14-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-300italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  src: local('Lato Light Italic'), local('Lato-LightItalic'),
       url('../fonts/lato-v14-latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/lato-v14-latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'),
       url('../fonts/lato-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/lato-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'),
       url('../fonts/lato-v14-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/lato-v14-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/*  ========================
    Allgemeine HTML-Elemente
    ========================  */

* {
    box-sizing: border-box;
}
html {
    background-color: #fff;
    color: #333;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    font-size: 1em;
    font-weight: 300;
}

/* Überschriften */
h1 {
    font-size: 2.25em;
    font-size: 10vw;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin: 1em 0 0.5em;
}
#main .inside>h1:first-child {
    margin-bottom: 2em;
}
#main .inside>h1:first-child:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    border-bottom: 2px solid #e4ebd5;
    margin-top: 2.3em;
}
h2 {
    color: #ea9900;
    font-size: 1.1875em;  /* 19px */
    font-weight: normal;
    letter-spacing: 0.02em;
    margin-top: 2em;
    margin-bottom: 0;
}
h3, .h3 {
    color: inherit;
    font-size: 1.0625em;  /* 17px */
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0;
}
.h3 { font-size: 1.1em; }
h4, .h4 {
    /*color: #7ab00e;*/
    color: inherit;
    font-size: 1.0625em;  /* 17px */
    font-weight: normal;
    letter-spacing: 0.02em;
    margin-bottom: 0;
}
h5 {
    font-size: 1em;
    font-weight: normal;
    margin-top: 1.33em;
    margin-bottom: 0;
}
/* aufeinanderfolgende Überschriften */
h3+h2,
h2+h3,
h3+h4,
h5+* {
    margin-top: 0;
}

/* Links */
a {
    text-decoration: none;
    color: #7ab00e;
}
a:hover {
    color: #EA9900;
    fill: #EA9900;
}
/* Links auf Dateien, E-Mails und externe Sites */
a[href$=".pdf"]:before,
a[href^="mailto:"]:before,
a[href^="http"][target="_blank"]:before {
    margin-right: 0.33em;
    width: 20px;
    vertical-align: middle;
}

a[href^="http"][target="_blank"]:before {
    content: url(../img/design/icn-link-external.svg);
}
a[href$=".pdf"]:before {
    content: url(../img/design/icn-link-pdf2.svg) !important;
}
a[href^="mailto:"]:before {
    content: url(../img/design/icn-link-mail2.svg);
    vertical-align: sub;
}

/* Bilder und Bilduntertitel */
img {
    border: 0;
    min-width: 1px;
    max-width: 100%;
    height: auto;
}
figure {
    margin: 0;
}
figcaption {
    font-size: 0.875em;
    font-weight: normal;
    line-height: normal;
    margin: 0.25em 0;
    border-left: 4px solid #e4ebd5;
    padding: 0 1em;
}

/* Listen */
#main ul > li {
    list-style-image: url(../img/design/bullet1.svg);
}
#main li ul > li {
    list-style-image: url(../img/design/bullet2.svg);
}
#main li li ul > li {
    list-style-image: url(../img/design/bullet3.svg);
}

/* Linien */
/* breite Linie */
hr {
    height: 2px;
    background-color: #e4ebd5;
    border: 0;
    margin: 2em -2000px;
}
/* kurze, zentrierte Linie */
hr.kurz {
    margin: 2em 90px;
}

/* sonstige HTML-Elemente */ 
strong {
    font-weight: normal; /* etwas dezenter (normaler Fließtext ist light) */
}
small {
    display: block;
    line-height: normal;
    margin: 1.5em 0;
}
iframe {
    width: 100%;
}


/*  ===================
    Eigene Formate
    ===================  */
    
/* Text zentrieren */
.zentriert {
    text-align: center;
}
/* Bild zentrieren */
img.zentriert {
    display: block;
    margin: 1em auto;
}

/* Teaser: mehrere verlinkte Boxen nebeneinander */
.teaser { /* umschließendes div-Element */
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 2em 0;
}
.teaser > * {
    position: relative;
    background-color: #f1f5e9;
    border: 1px solid #c5de95;
    margin-bottom: 1em;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 50%;
        -ms-flex: 0 1 50%;
            flex: 0 1 50%;
 }
.teaser > :first-child {
    margin-left: 0;
}
.teaser > a:hover {
    background-color: #e4ebd5;
}
#main .teaser a {
    display: block;
}
.teaser p {
    color: #333;
}
.teaser article {
    overflow: hidden;
}
.teaser img {
    float: left;
    max-width: 45%;
    margin-right: 20px;
    margin-bottom: 6px;
}
.teaser h1,
.teaser h2,
.teaser h3,
.teaser h4,
.teaser p {
    padding: 0 16px;
}
.teaser h1 {
    color: #7ab00e;
    font-size: 1.1em;
    font-weight: normal;
    letter-spacing: normal;
}
.teaser p.more {
    color: #7ab00e;
    font-size: 0.85em;
    font-style: italic;
    font-weight: normal;
}
.teaser hr {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* Zitate */
blockquote {
    background: url(../img/design/icn-zitat.svg) no-repeat 0 -12px;
    background-size: 72px;
    font-size: 1.25em;
    line-height: normal;
    min-height: 60px;
    padding-left: 90px;
    margin: 2em 0;   
}
blockquote cite { /* Quellenangabe */
    float: right;
    font-size: 0.8em;
    margin-top: 0.2em;
    margin-left: 0.5em;
}

/* farbig hinterlegte, eingerückte Boxen mit Info-Symbol */
.infobox { /* umschließendes div-Element */
    background-color: #f1f5e9;
    border: 1px solid #c5de95;
    margin: 2em 0;
    /*background:  rgba(244,235,217, 0.67) url(../img/icn-hinweis-white.svg) no-repeat center;
    background-size: auto 100%;*/
}
.infobox strong {
    font-weight: bold;
}
.infobox h3,
.infobox p,
.infobox > * {
    padding-left: 49px;
    padding-right: 24px;
}
.infobox h3 { /* optionaler, grün hinterlegter Titelbalken als H3-Überschrift */
    background-color: #a1c855;
    font-size: 1em;
    font-weight: normal;
    letter-spacing: 0.1em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    margin-top: 0;
    background: #a1c855 url(../img/design/icn-hinweis2-white.svg) no-repeat 10px center;
    background-size: 28px;
}
.infobox p:first-child {
    background: url(../img/design/icn-hinweis2-green.svg) no-repeat 10px top;
    background-size: 32px;
}

/* breite, farbig hinterlegte Box für Abgrenzungen und Hervorhebungen aller Art */
.box {
    background-color: #f1f5e9;
    padding: 1px 2000px;
    margin: 2em -2000px;
}

/* Elemente, die vom Text umflossen werden sollen.
In erster Linie für Elemente wie img und figure gedacht, aber auch auf weitere Elemente anwendbar */
.textumfluss {
    float: left;
    max-width: 48%;
    margin: 0 30px 0.75em 0;
}
.textumfluss > * {
    margin-top: 0;
}
/* Textumfluss vorzeitig beenden: Klasse für Elemente, die in einer neuen Zeile beginnen sollen */
.stopumfluss {
    clear: both;
}

/* Mehrere Bilder in einer Reihe anordnen.
Die einzelnen Bilder sollten identische Seitenverhältnisse haben */
.reihe { /* umschließendes Element */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 2em 0;
}
/* Mit beiden Klassen wird die Reihe breiter */
.reihe.breit {
    margin: 2em -5.5%;
}
.reihe > * {
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 50%;
        -ms-flex: 0 1 50%;
            flex: 0 1 50%;
    margin-left: 16px;
 }
.reihe > :first-child {
    margin-left: 0;
}
.reihe img {
    width: 100%;
}

/* Claim mit Bambus-Hintergrund */
.claim {
    background: url(../img/bambus-bg-claim.jpg) no-repeat 50% 35%;
    background-size: cover;
    color: #fff;
    text-align: center;
    height: 50vh;
    min-height: 150px;
    padding: 30px 6%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.claim h2 {
    color: inherit;
    font-size: 6vw;
    font-style: italic;
    font-weight: 300;
    margin: 0;
}
.claim a {
    color: inherit;
}
a.scroll-down {
    position: absolute;
    bottom: 0;
    left: 45%;
    right: 45%;
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    padding: 0.7em 0;
    opacity: 0.75;
    transition: 0.3s;
}
a.scroll-down:hover {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #c5de95;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.5em 2em;
    border: 2px solid #7ab00e;
    border-radius: 5px;
    margin-right: 0.4em;
}
.btn:hover {
    background-color: #fff;
    color: #7ab00e;
    border-color: #7ab00e;
}
.btn-primary {
    background-color: #7ab00e;
    color: #fff;
}
.btn-info {
    background-color: #a1c855;
    border-color: #a1c855;
    color: #fff;
}


/*  ===================
    Layoutbereiche
    ===================  */
    
/* Logo und Navigation */
#header {
}
#header .inside {
    width: 94%;
    max-width: 1060px;
    margin: 0 auto;
}
#logo {
    position: relative;
    padding: 30px 20px;
    padding: 10px 10px 10px 0;
    border-bottom: 1px solid #fff;
}
#logolink {
    display: block;
    text-align: center;
}
#logo img {
    max-width: 160px;
    margin-right: 20px;
}
#logo h1 {
    color: #333;
    font-size: 1.1em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.5em;
}
#logo h2 {
    color: #a2a2a2;
    font-size: 0.875em;
    letter-spacing: 0.033em;
    margin-top: 0;
}
#kopfbild {
    height: 15vh;
    min-height: 80px;
    max-height: 400px;
    /*background: url(../img/design/header-300.jpg) no-repeat center;*/
    background: url(../img/bambus-hoch.jpg) no-repeat top fixed;
    background-size: cover;
}
#home #kopfbild { display: none; }

/* Hauptspalte */
#main {
    overflow-x: hidden;
}
#main .inside {
    line-height: 1.4;
    width: 86%;
    max-width: 800px;
    margin: 3em auto;
}

/* Footer */
#footer {
    background-color: #f1f5e9;
    /*background: url(../img/bambus-hoch.jpg) no-repeat top fixed/cover;*/
    font-size: 0.875em;
    line-height: 1.5;
}
#footer hr {
    margin: auto;
    /*height: 5px;
    background: url(../img/bambus-hoch.jpg) no-repeat top/cover;*/
}
#footer .inside {
    /*background-color: rgba(255,255,255,0.7);*/
    width: 86%;
    max-width: 280px;
    margin: 0 auto;
    /*display: flex;
    justify-content: space-between;*/
    padding: 1em 0;
}
#footer address {
    font-style: normal;
}
#footer a {
    color: inherit;
}
#footer a[href]:hover {
    color: #7ab00e;
}
#nav-impr {
}
#footer nav {
    margin-bottom: 1em;
    text-align: center;
}
#footer nav>ul>li {
    border-top: 1px solid #c5de95;
}
.separator {
    display: none;
}
#footer nav>ul>li:first-child {
    border-top: 0;
}
#footer nav a {
    display: block;
    padding: 0.4em 0;
}
#footer nav ul ul {
    display: none;
}
#footer nav>ul>li>:first-child {
    font-weight: normal;
}
