@media only screen and (min-width: 940px) {
    html {
        font-size: 120%; /* Vorher: 110.1% */
    }
    #navigation #navigationinner {
        width: 95%;
    }
    #header {
        width: 100%;
    }
    #page {
        width: 95%;
    }
    #footer #footerinner {
        width: 95%;
    }
}

@media only screen and (min-width: 1024px) {
    html {
        font-size: 125%; /* Vorher: 110.1% */
    }
}

@media only screen and (min-width: 1100px) {
    html {
        font-size: 130%; /* Vorher: 120.1% */
    }
}

@media only screen and (min-width: 1260px) {
    html {
        font-size: 135%; /* Vorher: 125.1% */
    }
    #navigation #navigationinner {
        width: 90%;
    }
    #header {
        width: 90%;
    }
    #page {
        width: 90%;
    }
    #footer #footerinner {
        width: 90%;
    }

    .headerboxinner {
        padding-left: 70px;
    }
    .contentboxinner {
        padding: 70px;
        padding-top: 70px;
    }
}

@media only screen and (min-width: 1500px) {
    html {
        font-size: 140%; /* Vorher: 120.1% */
    }
    #navigation #navigationinner {
        width: 85%;
    }
    #header {
        width: 85%;
    }
    #page {
        width: 85%;
    }
    #footer #footerinner {
        width: 85%;
    }
    .headerboxinner {
        padding-left: 100px;
    }
    .contentboxinner {
        padding: 100px;
        padding-top: 100px;
        padding-bottom: 70px;
    }
}

@media only screen and (min-width: 1800px) {
    html {
        font-size: 150%; /* Vorher: 130% */
    }
    body {
        letter-spacing: 0.5px;
        line-height: 150%;
    }
}

@media only screen and (max-width: 935px) {

    /* Layout -------------------------------------- */

    html {
        font-size: 125%; /* Mobile Schriftgröße */
    }
    body {
        height: auto;
    }
    #navigation {
        position: relative;
        display: block;
        width: 100%;
        top: inherit;
        left: inherit;
        background-color: #fff;
        height: auto;
        border-bottom: 1px dotted #ccc;
        z-index: 2000;
    }
    #navigation #navigationinner {
        display: block;
        position: relative;
        width: 94%;
        max-width: 1500px;
        margin: 0 auto;
        border: 0px solid red;
    }
    #header {
        display: block;
        position: relative;
        margin-top: 35px;
        width: 100%;
    }
    #header::after {
        border: 1px dotted #ccc;
        bottom: 0;
        content: "";
        height: auto;
        left: 0;
        margin-top: 10px;
        margin-bottom: 15px;
        margin-left: 10px;
        margin-right: 10px;
        position: absolute;
        right: 0px;
        top: 0px;
        width: auto;
    }
    #footer {
        position: relative;
        bottom: inherit;
        height: auto;
        line-height: 140%;
        z-index: 4000;
    }
    #footer #footerinner {
        width: 90%;
    }
    #page {
        display: block;
        position: relative;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 40px;
    }
    .wrapper {
        display: block;
        position: relative;
    }
    #logo, #vdp {
        position: relative;
        display: block;
        vertical-align: top;
        padding-top: 15px;
        border: 0px solid red;
    }
    #logo {
        width: 70%;
        padding-left: 5%;
        padding-right: 5%;
        padding-bottom: 30px;
        padding-top: 10px;
        margin: 0 auto;
        text-align: center;
    }
    #vdp {
        width: 100%;
        max-width: 150px;
        padding-left: 4%;
        padding-right: 4%;
        padding-bottom: 30px;
        margin: 0 auto;
        text-align: center;
    }
    #logo img, #vdp img {
        width: 100%;
        height: auto;
        border: 0px solid red;
    }
    #logo img {
        max-width: 180px;
        text-align: left;
    }
    #vdp img {
        width: 32px;
    }
    .content {
        display: block;
        position: relative;
        vertical-align: top;
        width: 94%;
        margin: 0 auto;
        padding-bottom: 20px;
        text-align: left;
        border: 0px solid red;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    .headerbox {
        margin: 0 auto;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 10px;
        padding-bottom: 0;
        background-color: #fff;
        z-index: 400;
    }
    .headerboxinner {
        border: 1px dotted #ccc;
        border-bottom: 0;
        padding: 30px;
        padding-top: 30px;
    }
    .contentbox {
        margin: 0 auto;
        padding: 10px;
        background-color: #fff;
        margin-bottom: 20px;
        z-index: 400;
    }
    .contentboxinner {
        border: 1px dotted #ccc;
        padding: 30px;
        padding-top: 30px;
    }
    .contentbox:nth-child(2) {
        margin-top: 0;
        padding-top: 0;
    }
    .contentbox:nth-child(2) .contentboxinner {
        border: 1px dotted #ccc;
        border-top: 0;
        padding-top: 0px;
    }

    .content_cell_big {
        display: block;
        float: left;
        width: 62%;
        padding: 2%;
    }
    .content_cell_small {
        display: block;
        float: right;
        width: 38%;
        padding: 2%;
        border: 0px solid #000;
    }
    .content_tbl {
        display: table;
        width: 100%;
        border: 0;
        padding: 0;
    }
    .cell1-2, .cell2-2 {
        display: table-cell;
        width: 49%;
        border: 1px solid #CFB53B;
        padding: 10px;
    }
    .cell_spacer {
        width: 2%;
    }
    .cell1-3, .cell2-3, .cell3-3 {
        display: table-cell;
        width: 33.333%;
    }
    .cell1-3 {
        padding-right: 10px;
    }
    .cell2-3 {
        padding-right: 5px;
    }
    .cell3-3 {
        padding-left: 5px;
    }
    .content_tbl.gastlogos {
        display: block;
    }
    .gastlogos .cell1-3, .gastlogos .cell2-3, .gastlogos .cell3-3 {
        display: block;
        width: 100%;
        padding: 0;
    }
    .sortiment .spalten {
        position: relative;
        border: 0px solid red;
    }
    .col1-2, .col2-2 {
        width: 100%;
        border: 0px solid red;
    }
    .col1-2 {
        float: none;
        margin-bottom: 40px;
    }
    .col2-2 {
        float: none;
    }
    #footerinner {
        display: block;
        width: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
        border: 0px solid red;
    }
    #footerinner .col1-2 {
        display: block;
        width: 50%;
        text-align: left;
        float: left;
        border: 0px solid red;
    }
    #footerinner .col2-2 {
        display: block;
        width: 50%;
        text-align: left;
        float: right;
        border: 0px solid red;
    }
    .cols {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: stretch;
        align-items: stretch;
        -webkit-flex: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .cols:after {
        content: "";
        display: inline-block;
        padding-left: 100%;
    }
    .cols.bg {
        background-color: #EEEDEC;
        background-image: url(../images/hg-weiss.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        -o-background-size: 100% 100%, auto;
        -moz-background-size: 100% 100%, auto;
        -webkit-background-size: 100% 100%, auto;
        background-size: 100% 100%, auto;
        background-size: cover;
        padding: 40px;
        border: 2px solid #fff;
    }
    .cols .colbox {
        width: 30%;
        padding: 20px;
        background-color: #EEEDEC;
        background-image: url(../images/hg-weiss.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        -o-background-size: 100% 100%, auto;
        -moz-background-size: 100% 100%, auto;
        -webkit-background-size: 100% 100%, auto;
        background-size: 100% 100%, auto;
        background-size: cover;
    }
    .colbox.leer {
        background: none;
        height: 0;
        border: 0px solid #000;
        margin-bottom: 0;
    }
    /* Rubrik-Startseiten ---------------------------------- */
    .rubrikstart_aussen {
        position: relative;
        background: rgba(255, 255, 255, 0.8);
        margin: 0 auto;
        margin-top: 80px;
        margin-bottom: 20px;
        z-index: 400;
        border: 0;
        width: 90%;
        min-width: inherit;
        padding: 20px;
        text-align: left;
    }

    .rubrikstart_aussen.mitte {
        margin: 0 auto;
        margin-top: 150px;
        margin-bottom: 20px;
    }
    .rubrikstart_aussen.rechts {
        float: none;
    }
    .rubrikstart_innen {
        border: 1px dotted #333;
        padding: 20px;
        margin: 0;
    }
    p#rubrikstart_logo, p#rubrikstart_vdp {
        position: relative;
        display: block;
        padding-top: 15px;
        width: 100%;
        border: 0px solid red;
        text-align: center;
    }
    p#rubrikstart_logo img {
        position: relative;
        width: 70%;
        max-width: 180px;
        padding-bottom: 20px;
        padding-top: 0px;
        margin: 0 auto;
        text-align: center;
        border: 0px solid #000;
    }
    p#rubrikstart_vdp img {
        width: 100%;
        max-width: 40px;
        padding-top: 40px;
        padding-bottom: 0px;
        margin: 0 auto;
        text-align: center;
        border: 0px solid #000;
    }

    /* Textformatierungen -------------------- */
    h1, h2, .nohyphens {
        -webkit-hyphens: none;
        -moz-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
    }
    #page .content h1, #page2 .content h2 {
        -ms-hyphens: none;
        -webkit-hyphens: none;
        hyphens: none !important;
    }
    #page h1 {
        font-size: 1.50em;
        color: #4c4c4c;
        line-height: 1.3em;
        font-weight: 400;
        font-style: italic;
        margin: 0;
    }
    #page h1 span {
        color: #006dab;
    }
    #page h2 {
        font-size: 1.1em;
        font-style: italic;
        color: #484847;
        text-decoration: none;
        font-weight: 400;
        margin-top: 2.6em;
        margin-bottom: 0.8em;
        line-height: 1.2em;
    }
    #page h2:first-child {
        margin-top: 0;
    }
    #page h3 {
        font-size: 1.0em;
        text-decoration: none;
        font-weight: normal;
        color: #51575b;
        margin-top: 1.0em;
        margin-bottom: 1.0em;
        line-height: 1.2em;
    }
    #page h3:first-child {
        margin-top: 0;
    }
    #page p {
        font-size: 0.85em;
        line-height: 160%;
        margin-bottom: 0.95em;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
    a:hover, a:active, a:visited {
        color: #000;
        text-decoration: underline;
    }
    #page ul {
        list-style-type: square;
        padding-left: 17px;
        margin-bottom: 0.85em;
    }
    #page li {
        font-size: 0.85em;
        letter-spacing: 0px;
        line-height: 140%;
        margin-bottom: 0.45em;
    }
    a.telresp {
        text-decoration: none;
        color: #000;
    }
    /* Bilderformate ---------------- */

    #page .content img {
        width: 70%;
        height: auto;
        position: relative;
    }
    #page .content .bild img {
        width: 70%;
        height: auto;
        position: relative;
    }
    #page .content .bild {
        position: relative;
        padding: 0px;
    }
    #page .content .bild p {
        position: relative;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        margin-top: 10px;
    }

    /* Zusatz-Footer: Mitgliedschaften. ----------------- */
    #innerfooter {
        display: block;
        width: 100%;
        margin: 0 auto;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    #innerfooter p.mitgliedschaften {
        display: block;
        padding: 0;
        text-align: center;
    }
    #innerfooter p.mitgliedschaften span {
        display: block;
        padding: 0;
        text-align: center;
    }
    #innerfooter p.mitgliedschaften img {
        display: block;
        margin-right: 0px !important;
        margin-bottom: 30px;
    }
    #innerfooter p.mitgliedschaften img.fairchoice {
        display: inline-block;
        width: auto;
        height: 90px;
        margin-right: 0px;
        text-align: center;
    }
    /* Sonderformate -------------- */

    #oeffnungszeiten {
        position: absolute;
        display: none;
        width: 92%;
        z-index: 4200;
        bottom: 90px;
        right: 5%;
        padding: 20px;
        background: #fff;
        color: #000;
        box-shadow: 0 0px 8px rgba(68, 80, 83, 0.2);
    }
    #oeffnungszeiten .zeiten {
        width: 100%;
        padding: 40px;
        padding-bottom: 20px;
        text-align: left;
        border: 0px solid red;
        background: #efefef;
    }
    #oeffnungszeiten .zeiten h2 {
        font-size: 1.4rem;
        color: #006dab;
        line-height: 140%;
        margin-top: 0px;
        margin-bottom: 20px;
    }
    #oeffnungszeiten .zeiten p {
        font-size: 1.0rem;
        line-height: 140%;
        color: #000;
        margin-bottom: 15px;
    }
    #oeffnungszeiten p.schliessen {
        position: absolute;
        display: block;
        top: 25px;
        right: 30px;
        font-size: 1.4em;
        color: #000 !important;
    }
    #oeffnungszeiten p.schliessen i {
        color: #000 !important;
    }

    /* Info-Button ------------------------- */

    #header .infobutton {
        position: absolute;
        display: block;
        bottom: -20px;
        right: 0;
        width: 100%;
        height: auto;
        border-radius: 0;
        z-index: 8000;
    }
    #header .infobutton p {
        font-size: 0.8em;
    }
    #header .infobutton a {
        display: inline-block;
        text-shadow: 0 0 0 rgba(0,0,0,0);
        text-decoration: none;
        border: none;
        width: 50vw;
        height: auto;
        padding: 5px;
        border-radius: 0;
        vertical-align: middle;
        transform: rotate(0deg);
        box-shadow: 0 0 6px 2px rgba(0,0,0,0);
        overflow: auto;
    }
    /* Foerderhinweise -------------------- */

    table.foerderung {
        display: block;
        width: 100%;
        margin-top: 30px;
    }
    table.foerderung td {
        display: block;
        text-align: center;
        width: 100%;
        padding-bottom: 15px;
    }
    table.foerderung img {
        width: auto;
        height: auto;
        max-height: 100px;
    }
    /* offcanvas - navi einblenden --- */
    #navirespons {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        background-color: #ccc;
        height: 35px;
        line-height: 35px;
        z-index: 10000;
    }
    .naveins, .navzwei {
        display: block;
    }
    p.navaus a, p.navein a {
        display: block;
        width: 100%;
        margin: 0 auto 0 auto;
        text-align: left;
        text-decoration: none;
        color: #000;
        font-weight: normal;
        background: url(../images/navi.png);
        background-repeat: no-repeat;
        background-position: center right;
    }
    .aktiv-eins p.navein {
        display: none;
    }
    p.navaus {
        display: none;
    }
    .aktiv-eins p.navaus {
        display: block;
    }
    p.navaus a {
        background: url(../images/navi-aus.png);
        background-repeat: no-repeat;
        background-position: center right;
    }
    #navigation {
        -moz-transition: 0.3s all ease;
        -webkit-transition: 0.3s all ease;
        -o-transition: 0.3s all ease;
        transition: 0.3s all ease;
        width: 100%;
    }
    .js #navigation {
        background-color: #fff;
        margin-left: -120%;
        float: left;
        z-index: 0;
    }
    .js #page {
        margin: 0 auto;
        float: none;
        z-index: 4000;
    }
    .aktiv-eins #navigation {
        position: absolute;
        margin: 0 auto;
        width: 100%;
        padding: 4%;
        z-index: 5000;
    }
    .aktiv-eins #page {
        display: none;
    }

}

@media only screen and (max-width: 435px) {
    #page .content .bild img {
        width: 100%;
        height: auto;
        position: relative;
    }
}