:root {
    --primary: #2b9b20;         /*grün*/
    --primary-light: #80c379;   /*hellgrün*/
    --secondary: #F7930C;       /*orange*/
    --secondary-light: #fac993; /*helles orange*/
    --dark: #474747;            /*dunkel-grau*/
    --grey: #f0f0f0;            /*hellgrau*/
}

@font-face {
    font-family: lato_regular;
    src: url(Lato/Lato-Regular.ttf);
}
@font-face {
    font-family: lato_bold;
    src: url(Lato/Lato-Bold.ttf);
}

body {
    background-color: white;
    margin: 0;
    font-family: 'lato_regular', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    transition: all .5s ease-in;
}

h1 {
    font-size: 22px;
    color: var(--primary);
}
h2 {
    font-size: 34px;
    color: var(--primary);
    margin: 0;
}
h3 {
    font-size: 18px;
    color: var(--primary);
}

a {
    color: black;
    text-decoration: none;
}
a:hover {color: var(--secondary);}

.section {padding: 55px 0;}
.section:nth-child(odd) h2 {color: var(--secondary);}
.section:nth-child(even) h2 {color: var(--primary);}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.flex > p {margin: 0;}
.flex > p:nth-child(odd) {min-width: 95px;}

.flex .img_col {
    width: calc(50% - 40px);
    padding-left: 40px;
}
.flex .txt_col {
    width: 100%;
    padding: 0 20px;
}
@media only screen and (min-width: 680px) {
    .flex .txt_col {
        width: calc(50% - 40px);
    }
}

.txt {padding: 0 20px;}

.txt_big {
    text-transform: uppercase;
    word-break: break-word;
}
.abs_1 {margin: 16px 0;}
.btn {
    border: 2px solid white;
    padding: 5px 10px;
    width: fit-content;
    margin: 35px 0;
}
.btn a {
    color: white;
}

.bg_grau {background-color: var(--grey);}
.bg_dark {
    background-color: var(--dark);
    color: white;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.bg_img {
    position: relative;
    transform: rotate(-2deg);
}
.img_top {
    position: absolute;
    transform: rotate(2deg);
    top: -10px;
    left: -14px;
}

/*Seitenabschnitte*/

header {
    height: 140px;
}
header a {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: fit-content;
}

nav {
    width: 100%;
    box-shadow: 0px 5px 8px #ddd;
}
nav ul {
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: end;
    flex-wrap: wrap;
    padding-bottom: 15px;
}
nav li {
    list-style: none;
    padding: 10px 25px;
    justify-content: start;
}
nav a {
    color: var(--primary-light);
    font-size: 20px;
}
@media only screen and (min-width: 930px) {
    nav {
        transform: translateY(-100%);
        position: absolute;
    }
}

footer {
    padding: 60px 0;
    box-shadow: 0px -5px 10px #ddd;
}
footer .container.flex {
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
}
footer .flex {
    justify-content: start;
    gap: 1rem;
}
footer .flex > div {
    min-width: 300px;
    padding: 0 20px 0 60px;
}
footer .flex > p:nth-child(odd) {
    min-width: 80px;
}
footer h2 {
    font-size: 18px;
    margin-top: 1em;
}
footer p {
    margin-top: 0;
}
footer img {
    position: relative;
    left: -41px;
}
footer ul {
    list-style-type: none;
    padding: 0;
}

/*Scroll-up*/
.scroll_up {
    position: fixed;
    text-align: center;
    cursor: pointer;
    right: 30px;
    bottom: 30px;
    font-size: 20px;
    background-color: var(--primary);
    width: 2.1em;
    height: 2.1em;
    line-height: 2.1;
    z-index: 99;
}
.scroll_up:hover {
    background-color: var(--secondary);
}
.scroll_up a{
    display: inline-block;
    width: 2.1em;
    height: 2.1em;
}
.icon-arrow svg {
    margin-left: 0px;
    vertical-align: middle;
    transform: translate(0, -20%) rotate(180deg);
    color: white;
    width: 1em;
    fill: currentColor;
}


/*Impressum, Datenschutz*/

.impressum h1, .datenschutz h1 {
    font-size: 24px;
}
.impressum h2, .datenschutz h2 {
    font-size: 20px;
}
.impressum h3, .datenschutz h3 {
    color: unset;
    font-weight: 700;
}
.impressum .flex, .datenschutz .flex {
    justify-content: start;
    gap: 1rem;
    flex-wrap: nowrap;
}
.datenschutz .flex > p:nth-child(odd) {
    min-width: 176px;
}


/*Seiteninhalt*/

.hero {
    background-image: url(Bilder/titel.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    padding: 0;
}
.hero img {
    background-color: #FFFFFFAA;
    display: block;
    padding: 70px 20px;
}

.meischner .container > div {
    margin: 30px 0 80px 0;
}
.meischner .flex {
    justify-content: start;
    width: calc(100% - 40px);
}
@media only screen and (min-width: 620px) {
    .meischner .flex {
        gap: 2rem;
        width: unset;
    }
}
.meischner .flex .img_col {
    width: calc(30% - 70px);
    min-width: min-content;
}
.meischner #welcome {width: 100%;}
@media only screen and (min-width: 620px) {
    .meischner #welcome {width: calc(70% - 70px);}
}
#img_meischner {
    width: 300px;
    height: 370px;
    background-color: var(--primary-light);
}

.filialen {
    color: white;
    padding: 35px 20px;
}
@media only screen and (min-width: 620px) {
    .filialen {
        padding: 35px 50px;
    }
}
.filialen h2 {
    color: var(--primary);
}
.filialen .flex .txt_col {
    width: calc(100% - 100px);
    padding: 0;
    min-width: max-content;
}
.filialen .txt_col > p {
    width: inherit;
}
@media only screen and (min-width: 620px) {
    .filialen .flex .txt_col {
        width: calc(50% - 70px);
    }
    .filialen .txt_col > p {
        width: unset;
    }
}

.bandagen .img_col {
    min-width: fit-content;
    height: 660px;
}
@media only screen and (min-width: 620px) {
    .bandagen .img_col {
        min-width: 510px;
        height: 450px;
    }
}
@media only screen and (min-width: 1400px) {
    .bandagen {height: 460px;}
}
#img_bandage1 {
    width: 290px;
    height: 350px;
    background-color: var(--secondary-light);
    top: 30px;
}
@media only screen and (min-width: 620px) {
    #img_bandage1 {
        top: 30px;
    }
}
#img_bandage2 {
    width: 232px;
    height: 232px;
    background-color: var(--secondary-light);
    top: 60px;
}
@media only screen and (min-width: 620px) {
    #img_bandage2 {
        top: -140px;
        left: 270px;
    }
}

.einlagen .img_col {
    min-width: fit-content;
    height: 500px;
    width: 100%;
}
@media only screen and (min-width: 620px) {
    .einlagen .img_col {
        min-width: 580px;
        height: 480px;
        width: inherit;
    }
}
@media only screen and (min-width: 1400px) {
    .einlagen {height: 530px;}
}
#img_einlagen1 {
    width: 200px;
    height: 141px;
    background-color: var(--primary-light);
    z-index: 1;
    top: 30px;
}
@media only screen and (min-width: 620px) {
    #img_einlagen1 {
        width: 420px;
        height: 296px;
    }
}
#img_einlagen1 img {
    width: 100%;
}
@media only screen and (min-width: 620px) {
    #img_einlagen1 img {
        width: 420px;
    }
}
#img_einlagen2 {
    position: relative;
    left: 80px;
    top: 40px;
    width: fit-content;
}
@media only screen and (max-width: 640px) {
    #img_einlagen2 {
        left: 0px;
    }
}
#img_einlagen2 img {
    width: 100%;
}
@media only screen and (min-width: 620px) {
    #img_einlagen2 img {
        width: 510px;
    }
}

.diabetes .img_col {
    min-width: 300px;
    height: 380px;
}
@media only screen and (min-width: 1400px) {
    .diabetes {height: 400px;}
}
#img_diabetes {
    width: 270px;
    height: 336px;
    background-color: var(--secondary-light);
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    top: 30px;
}

.kompressen .img_col {
    min-width: fit-content;
    height: 700px;
}
@media only screen and (min-width: 620px) {
    .kompressen .img_col {
        min-width: 580px;
        height: 480px;
    }
}
@media only screen and (min-width: 1400px) {
    .kompressen {height: 510px;}
}
#img_kompression1 {
    width: 200px;
    height: 252px;
    background-color: var(--primary-light);
    z-index: 1;
}
@media only screen and (min-width: 620px) {
    #img_kompression1 {
        transform: rotate(-8deg);
        top: 45px;
        left: 40px;
    }
}
#img_kompression2 {
    width: 310px;
    height: 206px;
    background-color: var(--primary-light);
    top: 30px;
}
@media only screen and (min-width: 620px) {
    #img_kompression2 {
        top: -200px;
        left: 260px;
    }
}
#img_kompression3 {
    width: 305px;
    height: 176px;
    background-color: var(--primary-light);
    top: 60px;
}
@media only screen and (min-width: 620px) {
    #img_kompression3 {
        top: -160px;
        left: 170px;
    }
}

.zurichtung .img_col {
    min-width: fit-content;
    height: 315px;
    width: 100%;
}
@media only screen and (min-width: 620px) {
    .zurichtung .img_col {
        min-width: 490px;
        width: inherit;
    }
}
@media only screen and (min-width: 1400px) {
    .zurichtung {height: 330px;}
}
#img_zurichtung {
    width: 90%;
    height: 70%;
    background-color: var(--secondary-light);
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    top: 30px;
}
@media only screen and (min-width: 620px) {
    #img_zurichtung {
        width: 470px;
        height: 270px;
    }
}
#img_zurichtung img {
    width: 100%;
}
@media only screen and (min-width: 620px) {
    #img_zurichtung img {
        width: 470px;
    }
}

.masschuhe .img_col {
    min-width: fit-content;
    height: 790px;
}
@media only screen and (min-width: 620px) {
    .masschuhe .img_col {
        min-width: 560px;
        height: 580px;
    }
}
@media only screen and (min-width: 1400px) {
    .masschuhe {height: 585px;}
}
#img_masschuhe1 {
    width: 90%;
    min-height: 200px;
    background-color: var(--primary-light);
}
@media only screen and (min-width: 620px) {
    #img_masschuhe1 {
        width: 380px;
        height: 265px;
        top: 30px;
    }
}
#img_masschuhe1 img {
    width: 100%;
}
@media only screen and (min-width: 620px) {
    #img_masschuhe1 img {
        width: 380px;
    }
}
#img_masschuhe2 {
    width: 217px;
    height: 217px;
    background-color: var(--primary-light);
    top: 30px;
}
@media only screen and (min-width: 620px) {
    #img_masschuhe2 {
        top: -35px;
        left: 335px;
    }
}
#img_masschuhe3 {
    width: 297px;
    height: 234px;
    background-color: var(--primary-light);
    top: 60px;
}
@media only screen and (min-width: 620px) {
    #img_masschuhe3 {
        top: -155px;
        transform: rotate(-5deg);
    }
}

.orthesen .img_col {
    min-width: fit-content;
    height: 200px;
    width: 100%;
}
@media only screen and (min-width: 620px) {
    .orthesen .img_col {
        min-width: 550px;
        width: inherit;
    }
}
@media only screen and (min-width: 1400px) {
    .orthesen {height: 230px;}
}
#img_orthesen {
    width: 90%;
    height: 70%;
    background-color: var(--secondary-light);
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    top: 30px;
}
@media only screen and (min-width: 620px) {
    #img_orthesen {
        width: 535px;
        height: 160px;
    }
}
#img_orthesen img {
    width: 100%;
}
@media only screen and (min-width: 620px) {
    #img_orthesen img {
        width: 540px;
    }
}

.reparaturen .img_col {
    min-width: fit-content;
    height: 500px;
    width: 100%;
}
@media only screen and (min-width: 620px) {
    .reparaturen .img_col {
        min-width: 580px;
        height: 420px;
        width: inherit;
    }
}
#img_reparaturen1 {
    width: 90%;
    min-height: 200px;
    background-color: var(--primary-light);
}
@media only screen and (min-width: 620px) {
    #img_reparaturen1 {
        width: 390px;
        height: 218px;
        left: 180px;
        top: 30px;
    }
}
#img_reparaturen1 img {
    width: 100%;
}
@media only screen and (min-width: 620px) {
    #img_reparaturen1 img {
        width: 390px;
    }
}
#img_reparaturen2 {
    width: 90%;
    min-height: 200px;
    background-color: var(--primary-light);
    top: 30px;
}
@media only screen and (min-width: 620px) {
    #img_reparaturen2 {
        width: 305px;
        height: 242px;
        top: -50px;
    }
}
#img_reparaturen2 img {
    width: 100%;
}
@media only screen and (min-width: 620px) {
    #img_reparaturen2 img {
        width: 305px;
    }
}

.laufstudio .img_col {
    min-width: fit-content;
    height: 500px;
    width: 100%;
}
@media only screen and (min-width: 620px) {
    .laufstudio .img_col {
        min-width: 540px;
        height: 360px;
        width: inherit;
    }
}
@media only screen and (min-width: 1400px) {
    .laufstudio {height: 360px;}
}
#img_laufstudio1 {
    width: 90%;
    min-height: 200px;
    background-color: var(--secondary-light);
    top: 20px;
    z-index: 1;
}
@media only screen and (min-width: 620px) {
    #img_laufstudio1 {
        width: 350px;
        height: 250px;
        top: 100px;
    }
}
#img_laufstudio1 img {
    width: 100%;
}
@media only screen and (min-width: 620px) {
    #img_laufstudio1 img {
        width: 350px;
    }
}
#img_laufstudio2 {
    width: 200px;
    height: 200px;
    background-color: var(--secondary-light);
    top: 50px;
}
@media only screen and (min-width: 620px) {
    #img_laufstudio2 {
        top: -240px;
        left: 335px;
    }
}



/*itdotmedia*/
#itdotmedia_link {display:inline-block;text-decoration: none; text-align:left; color: #554848 !important; font-size:13px;width: 435px;margin: 0 auto;}
#itdotmedia_visitenkarte {width:100%;background:#fff; margin:0 auto 25px auto; float:left;border-top: 10px solid #554848; position:relative;}
.itdotmedia_padding {padding:16px; }
#itdotmedia_logo {position:relative; width:220px;margin: 0px auto !important; padding: 15px 0;display: block;}
#itdotmedia_color_line {width:100%; height:5px;background: #00405a;background: -moz-linear-gradient(left,  #00405a 0%, #bc3b3b 20%, #eb700d 40%, #f7a614 60%, #2b853e 80%, #2979a9 100%);background: -webkit-linear-gradient(left,  #00405a 0%,#bc3b3b 20%,#eb700d 40%,#f7a614 60%,#2b853e 80%,#2979a9 100%);background: linear-gradient(to right,  #00405a 0%,#bc3b3b 20%,#eb700d 40%,#f7a614 60%,#2b853e 80%,#2979a9 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00405a', endColorstr='#2979a9',GradientType=1 );}
#itdotmedia_middle {text-align:center; background:#e9e6e7;color:#00405a !important;font-size:12px;border-left: 1px solid #554848;border-right: 1px solid #554848;}
#itdotmedia_bottom {background: #554848; color:#fff !important; float:left; width:calc(100% - 32px);}
#itdotmedia_bottom strong {color:#fff !important}
#itdotmedia_bottom div {width:55%; float:left}
#itdotmedia_bottom div:first-child {line-height:24px; width:45%}
#itdotmedia_bottom img {width:15px; margin:0 8px 0 0 !important; border:0 !important}
#itdotmedia_top {border-left: 1px solid #554848;border-right: 1px solid #554848;}
@media screen and (max-width: 510px) {
#itdotmedia_link {width:100%;}
#itdotmedia_bottom div {width:100% !important; text-align:center}
#itdotmedia_bottom div:last-child {margin-top:10px;}
#itdotmedia_bottom div:first-child {line-height:23px;}
#itdotmedia_top {text-align:center}
}