/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url(../font/Lato-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url(../font/Lato-Black.ttf) format('truetype');
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 600;
    src: url(../font/Lato-Bold.ttf) format('truetype');
}
@font-face {
    font-family: 'Kaushan';
   font-style: normal;
    font-weight: 400;
    src: url(../font/KaushanScript-Regular.otf) format('opentype');
}

html {
    overflow-x: hidden;
}

body, * {
    font-family: "Lato",serif;
    box-sizing: border-box;
}

body {
    position: relative;
    font-size: 21px;
    margin: 0;
    line-height: 1.5;
    overflow-x: hidden;
    height: 100vh;
}

header, main, footer {
    margin: 0 auto;
    width: 100%;
    max-width: 990px;
}


h1, h2 {
    font-family: "Kaushan",serif;
    color: black;
    font-weight: 400;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
    margin-bottom: .6666rem;
}

h2 + p, img.uebermich2 + p {
    margin-top: .6666rem;
}

.page .p-margin-top {
    margin-top: -2rem;
}
p,div {
    hyphens: auto;
    hyphenate-limit-chars: 10 3 3;
    hyphenate-limit-lines: 2;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -ms-hyphenate-limit-chars: 10 3 3;
    -ms-hyphenate-limit-lines: 2;
}

a {
    text-decoration: none;
    color: black;
}

nav {
    text-align: center;
    background-color: white;
    height: 132px;
}

.klein{
    font-size: .75rem;
}

.margin-both {
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.index nav {
    background-color: transparent;
}
nav input {
    display: none;
}
nav ul {
    display: inline-block;
    margin: 2.5rem 0;
    padding: 0;
}
nav li {
    display: inline-block;
    color: black;
    margin: .8rem;
    padding: 0 .2em .15em;
}

nav li.aktiv {
    font-weight: 700;
}

nav li.aktiv, nav li:hover {
    border-bottom: 1px solid #0080c5;
}
.index nav li.aktiv, .index nav li:hover {
    border-bottom: 1px solid white;
}
ul {
    padding-left: 1.3em;
}
li {
    padding-left: .75em;
}
header {
    max-width: 100%;
    position: sticky;
    top: 0;
    background-color: #0080c5;
    display: flex;
    flex-flow: row wrap;
}

main {
    padding: 0 0 .75rem 0;
}

img {
    max-width: 100%;
    border-radius: 1rem;
}

footer {
    background-color: #aa5e20;
    padding: 2rem 0;
    max-width: 100%;
    color: white;
    min-height: 245px;
}
footer a {
    color: white;
    text-decoration: none;
}
footer div {
    display: inline-block;
}
footer p:first-child {
    margin-top: 0;
}
footer p {
    margin-bottom: 0;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
}
.footer_kontakt {
    margin-left: calc(50% - 495px);
    width: 740px;
}
.footer_kontakt span {
    font-size: 1.25em;
}
.footer_link {
    width: 250px;
    text-align: right;
    hyphens: none;
}

.footer_link a:first-child {
    border-right: 1px solid white;
    padding-right: .3rem;
}

.nomargin {
    margin: 0;
}

body.index {
}

.index header {
    position: sticky;
    top: 0;
    background-color: transparent;
    display: block;
    background: url("../img/index-bg.png") top center no-repeat;
    height: 574px;
}
.index nav ul {
    margin-top: 0;
}
.index nav a {
    color: white;
}

.index main {
    margin-top: -439px;
    padding-top: 0;
    background-color: transparent;
}
.index main h1 {
    color: #ff9000;
    margin: 0;
    font-size: 6rem;
    font-weight: 400;
}

.index main p {
    font-size: 2.1rem;
    font-weight: 600;
    color: black;
    background-color: transparent;
    margin: 0 0 3rem;
}

.index main div.img {
    background: url("../img/start.jpg") no-repeat;
    background-size: contain;
    border-radius: 1rem;
    margin-bottom: 5rem;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.index main div.img p {
    font-family: Kaushan,sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    text-align: right;
    margin: 2rem 3rem;
    line-height: 1.42;
}
.index main div.img p span {
    display: inline-block;
    font-family: Kaushan,sans-serif;
    font-size: 1.29em;
    margin-bottom: .5em
}
.index main div.img p span.quote{
    font-family: "Lato", sans-serif;
    font-size: .57em;
    margin-top: .5rem;
}

.page header nav {
    flex: 1 100%;
}
.page header p {
    font-family: Kaushan,sans-serif;
    font-size: 2rem;
    color: white;

    padding: 1rem 0;
    margin: 0;

    text-align: center;
    flex: 1 100%;
}
.page header p span {
    font-family: Kaushan,sans-serif;
    font-size: .7em;
}

.page .block_links, .page .block_rechts {
    margin: 3rem 0;
}

.page .block_links {
    padding-right: 10%;
}

.page .block_rechts {
    padding-left: 20%;
}

.page.kontakt h1,.page.kontakt h2 {
    color: #ff9000;
}
.page.kontakt h2 {
    margin-top: 2rem;
}
.bild_rechts {
    float: right;
    margin: 3rem 0 3rem 2rem ;
}
.bild_rechts.bild_text_abstand_groß {
    margin-left: 6rem;
}

.bild_links {
    float: left;
    margin: 3rem 2rem 3rem 0;
}
.bild_links.bild_text_abstand_groß {
    margin-right: 6rem;
}

.page h1 + .block_links {
    margin-top: 0;
}
.uebermich1 {
    height: 340px;
    margin-top: 0;
    margin-bottom: 0;

}
.uebermich2 {
    width: 450px;
    margin-bottom: 4rem;
}
.uebermich2-ueberschrift {
    margin-left: calc(450px + 6rem);
}
.genesungsbegleitung1 {
    width: 530px;
    margin-top: 12px;
    margin-bottom: 0;
}
.mikaousui1 {
    width: 230px;
    margin-top: 0;
    margin-bottom: 0;
}

.kontakt_button {
    text-align: center;
    border-radius: 50%;
    background-color: #ff9000;
    color: white;
    float: right;
    right: 0;
    height: 15rem;
    width: 15rem;
    box-shadow: 0 0 20px #aaaaaa;
    padding-top: 2rem;
    line-height: 1.4;
    font-size: 23px;
}
.kontakt_button a {
    color: white;
}
.kontakt_button span {
    font-size: 1.3em;
}
.kontakt-bild {
    margin: 3rem 0;
}

.block_gruen {
    background-color: #e6ffd9;
    border-radius: 1rem;
    padding: 2rem 3rem;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.block_gruen div {
    display: inline-block;
}

.block_gruen h2 {
    margin-top: 0;
}

.block_gruen p {
    margin-bottom: 0;
}

.block_gruen p + ul {
    margin-top: 0;
}
.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}
.clearfix::after {
    clear: both;
}

@media screen and (max-width: 1040px) {
    body {
        overflow-x: hidden;
    }
    header {
        flex-flow: row nowrap;
        align-items: stretch;
        margin-bottom: 1rem;
    }
    .index header {
        background: url("../img/index-bg-mobil.png") top center no-repeat;
    }
    .page header nav {
        height: auto;
        flex: 0 0 70px;
        background-color: transparent;
    }
    nav input {
        display: block;
        top: 1.8rem;
        right: 1rem;
        width: 30px;
        height: 21px;
        margin: 0;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }
    nav li.aktiv, nav li:hover {
        border-bottom: none;
    }
    .index nav li.aktiv, .index nav li:hover {
        border-bottom: none;
    }
    #menuToggle {
        display: block;
        position: relative;
        z-index: 1;
        text-align: right;
        -webkit-user-select: none;
        user-select: none;
    }

    .index main {
        padding-top: 0;
        background-color: white;
    }
    #menuToggle div {
        position: absolute;
        top: 1.8rem;
        right: 1rem;
        height: 21px;
    }

    #menuToggle div span {
        display: block;
        width: 30px;
        height: 2px;
        margin-bottom: 7px;
        position: relative;
        background: white;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
    }

    #menuToggle div span:last-child {
        margin-bottom: 0;
    }

    #menuToggle input:checked ~ div span {
        background: black;
        opacity: 1;
        transform: rotate(-45deg) translate(3px, -1px);
    }

    #menuToggle input:checked ~ div span:nth-last-child(2) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #menuToggle input:checked ~ div span:nth-last-child(3) {
        transform: rotate(45deg) translate(2px, -2px);
    }
    nav ul {
        position: absolute;
        width: 400px;
        max-width: 100vw;
        margin: 0 0 0 0;
        padding: 2rem;
        padding-top: 4rem;
        background: white;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;

        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        transform: none;
    }
    nav input:checked ~ ul
    {
        transform-origin: 0 0;
        transform: translate(-100%, 0);
    }
    nav li {
        font-size: 1rem;
        display: block;
        text-transform: uppercase;
        text-align: left;
        margin: 1rem 1rem;
    }
    nav li a , .index li a {
        color: #0080c5;
    }
    .index nav li.aktiv, .index nav li:hover {
        border-bottom: none;
    }
    main {
        padding: 0 20px;
    }

    img, img.bild_rechts, img.bild_links {
        display: block;
        float: none;
        width: 80%;
        max-width: 340px;
        margin: 3rem auto;
    }
    img.quer, img.bild_rechts.quer, img.bild_links.quer {
        width: 100%;
        max-width: none;
    }
    .bild_rechts.bild_text_abstand_groß, .bild_links.bild_text_abstand_groß {
        margin: 0 auto;
    }
    .uebermich1 {
        height: auto;
    }
    .uebermich2-ueberschrift {
        margin-left: 0;
    }
    .block_gruen {
        padding: 1rem 1.5rem;
    }

    .footer_kontakt {
        width: 450px;
        max-width: 100%;
        margin: 0;
        padding-left: 20px;
    }

    .footer_link {
        width: 150px;
        float: right;
        padding: 10px 20px 0 0;
    }

    footer:after {
        content: "";
        display: block;
        clear: both;
    }

    .footer_link a:first-child {
        border: none;
        padding-right: 0;
        hyphens: none;
        -webkit-hyphens: none;
    }

    .index h1 {
        font-size: 1.5rem;
    }

    .page .block_links, .page .block_rechts {
        padding: 0;
    }
}


@media screen and (max-width: 950px) {
    .kontakt_button {
        display: none;
    }
}
@media screen and (max-width: 880px) {
    .index main div.img p {
        font-size: 1.25rem;
    }
}
@media screen and (max-width: 850px) {
    .kontakt_button {
        display: none;
    }
}
@media screen and (max-width: 700px) {
    .index header {
        margin-bottom: 0;
        background: url("../img/index-bg-mobil.png") top center no-repeat;
    }

    .index header nav {
        height: 100px;
    }

    .index main h1{
        font-size: 4.6rem;
        text-align: left;
    }

    .index main h1 + p {
        font-size: 1.5rem;
        text-align: left;
        margin-bottom: 2rem;
    }
    .index main div.img p {
        font-size: 1.25rem;
        text-align: right;
        margin: 0;
        padding-right: 1rem;
    }
    .index main div.img {
        display: block;
        padding-top: calc((100vw - 40px) * 440 / 745 + 1.5rem);
        border-radius: 0;
    }

}

@media screen and (max-width: 660px) {
    body {
        font-size: 16px;
    }

    footer {
        font-size: 1rem;
    }
}

@media screen and (max-width: 530px) {
    .index main h1 {
        font-size: 3.5rem;
    }
    .index h1 + p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 420px) {
    .index main h1 {
        font-size: 3.1rem;
        line-height: 1.3;
        text-align: center;
    }
    .index h1 + p {
        font-size: 1.4rem;
        line-height: 1.3;
        text-align: center;
    }
    .page header p {
        font-size: 1.5rem;
    }
    .nobr-xs br {
        content: '';
    }
    .nobr-xs br:after {
        content: ' ';
    }
}
