/* Typometris MP */

.sg-popup-builder-content b, strong {
    font-weight: 400 !important;
    text-transform: inherit !important;
}

.sg-popup-builder-content h1 {
    line-height: 28px;
    font-size: 19px;
}

p.textrot {
    color: #aa0a1f !important;
}

/* ############# Natives Responsives Menü ############ */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-drawer,
.mobile-menu-overlay {
    display: none;
}

@media screen and (max-width: 800px) {
    #mainmenu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
        background: #595959;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        z-index: 99999;
        padding: 0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
        transition: background 0.2s ease;
    }

    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus {
        background: #aa0a1f;
        outline: none;
    }

    .hamburger-box {
        width: 22px;
        height: 16px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        border-radius: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .hamburger-inner {
        position: relative;
        top: 7px;
    }

    .hamburger-inner::before {
        content: '';
        position: absolute;
        top: -7px;
    }

    .hamburger-inner::after {
        content: '';
        position: absolute;
        bottom: -7px;
    }

    .mobile-menu-open .mobile-menu-toggle .hamburger-inner {
        background-color: transparent;
    }

    .mobile-menu-open .mobile-menu-toggle .hamburger-inner::before {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-open .mobile-menu-toggle .hamburger-inner::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 100000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #595959;
        color: #fff;
        z-index: 100001;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
    }

    .mobile-menu-drawer.is-open {
        transform: translateX(0);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .mobile-menu-inner {
        padding: 0 0 40px;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 14px 20px;
        background: #595959;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-menu-close {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.85;
        transition: opacity 0.2s ease;
    }

    .mobile-menu-close:hover {
        opacity: 1;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        background: #595959;
    }

    .mobile-menu-list li {
        position: relative;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-menu-list li a {
        display: block;
        padding: 13px 20px;
        color: #fff;
        font-size: 15.5px;
        font-weight: 300;
        line-height: 1.4;
        text-decoration: none !important;
        transition: background 0.15s ease;
    }

    .mobile-menu-list li a:hover,
    .mobile-menu-list li a:focus,
    .mobile-menu-list li a:active {
        text-decoration: none !important;
    }

    .mobile-menu-list li a:hover {
        background-color: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .mobile-menu-list li.current-menu-item > a,
    .mobile-menu-list li.current_page_item > a {
        background-color: #4a4a4a;
        color: #fff;
    }

    .mobile-menu-list li.menu-item-has-children {
        position: relative;
        display: block;
    }

    .mobile-menu-list li.menu-item-has-children > a {
        display: block;
        padding-right: 48px;
    }

    .sub-menu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: 48px;
        background: transparent;
        border: none;
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 2;
        transition: background 0.2s ease;
    }

    .sub-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .sub-menu-toggle .sub-arrow {
        display: inline-block;
        font-size: 10px;
        line-height: 1;
        color: #fff;
        transition: transform 0.2s ease;
    }

    .mobile-menu-list li.sub-menu-open > .sub-menu-toggle .sub-arrow {
        transform: rotate(180deg);
    }

    /* Submenus (collapsible with smooth slide animation) */
    .mobile-menu-list .sub-menu {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
        transition: max-height 0.35s ease, opacity 0.3s ease;
    }

    .mobile-menu-list li.sub-menu-open > .sub-menu {
        opacity: 1;
    }

    /* Level 1: Open state for parent */
    .mobile-menu-list > li.sub-menu-open > a {
        background-color: #4a4a4a;
    }

    /* Level 2 Submenu (e.g. Praxis -> Ärzte, Stellenangebote, ...) */
    .mobile-menu-list > li > .sub-menu {
        background: #474747;
    }

    .mobile-menu-list > li > .sub-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-menu-list > li > .sub-menu > li > a {
        padding: 11px 48px 11px 32px;
        font-size: 15px;
    }

    .mobile-menu-list > li > .sub-menu > li.sub-menu-open > a {
        background-color: #363636;
    }

    /* Level 3 Submenu (e.g. Praxis -> Ärzte -> Dr. med. Bernhard Hustert, ...) */
    .mobile-menu-list > li > .sub-menu > li > .sub-menu {
        background: #212121;
    }

    .mobile-menu-list > li > .sub-menu > li > .sub-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-menu-list > li > .sub-menu > li > .sub-menu > li > a {
        padding: 10px 20px 10px 48px;
        font-size: 14px;
        line-height: 1.35;
    }

    .mobile-menu-list > li > .sub-menu > li > .sub-menu > li > a:hover {
        background-color: #141414;
    }

    .mobile-menu-list > li > .sub-menu > li > .sub-menu > li.sub-menu-open > a {
        background-color: #181818;
    }

    /* Level 4 Submenu (Fallback) */
    .mobile-menu-list > li > .sub-menu > li > .sub-menu > li > .sub-menu {
        background: #141414;
    }

    .mobile-menu-list > li > .sub-menu > li > .sub-menu > li > .sub-menu > li > a {
        padding: 9px 20px 9px 62px;
        font-size: 13.5px;
    }
}
/* ############################################### */


/* ############# Doctolib ############ */
.doctolib a {
    position: fixed;
    z-index: 20000;
    top: 240px;
    right: 0;
    display: block;
    text-align: center;
    opacity: 0.85;
    background-color: #0596de;
    color: #ffffff;
    font-size: 14px;
    overflow: hidden;
    width: 100px;
    border-radius: 4px 0 0 4px;
    text-decoration: none;
    padding: 10px;
    line-height: 1.4;
}

.doctolib img {
    height: 15px;
    margin-top: 10px;
    width: auto;
    display: block;
    margin: 5px auto auto;
}

.doctolib a:hover, .doctolib a:active {
    color: #ffffff !important;
    background: #006fa6;
}


/*
Theme Name: ntw
Author: Roman Breitenbach
*/


* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    color: #595959;
    margin: 0;
    font-family: Helvetica, Sans-Serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

}

article,
header,
nav,
section {
    display: block;
}


a:focus,
a:active,
a:hover {
    outline: 0;
}

a:link, a:visited {
    text-decoration: none;
    outline: none;
    font-family: Helvetica, Sans-Serif;
    font-weight: 300;
}

a:hover, a:active {
    text-decoration: none;
    color: #666;
}

a.stelle {
    background: #595959;
    color: #fff;
    border-radius: 3px;
    padding: 2px 8px;
    display: block;
    width: 100%;
    font-weight: 400;
}

a.stelle:hover {
    background: #C83844;
}

a {
    color: #C83844;
}

em {
    font-weight: 300;
    color: #C83844;
    font-style: normal;
}


h1 {
    color: #C83844;
    line-height: 42px;
    font-size: 30px;
    font-family: Helvetica, Sans-Serif;
    font-weight: 300;
}

h2, h3 {
    color: #C83844;
    line-height: 36px;
    font-size: 30px;
    font-family: Helvetica, Sans-Serif;
    font-weight: 300;
}

h4 {
    font-weight: 300;
    color: #595959;
    margin-top: 2em;
    text-transform: uppercase;
    font-size: 100%;
}

h5 {
    font-weight: 500;
    color: #666;
    margin-top: 2em;
    font-size: 100%;
}


strong {
    font-weight: 300;
    color: #666;
    margin-top: 2em;
    text-transform: uppercase;
}

small {
    font-size: 15px;
}

h2.hidden {
    display: none;
}

p {
    margin: 2em 0;
}

.page p {
    margin: 10px 0 2em;
}

li {
    list-style-type: none;
    margin: 0px 0 0.5em 0;
    color: #595959;
}

li.square {
    list-style-type: square;
    margin: 0px 0 0.5em 0;
    color: #595959;
}

ul li {
    list-style-type: none;
    margin: 0px 0 0.5em 1em;
    color: #595959;
}

li span {
    color: #666;
}


img {
    border: 0;
    width: 100%;
    display: block;
    max-width: 100%;
    height: auto;
}

.wpcf7 {
    font-size: 15px;
    margin-bottom: 130px !important;
}


.wpcf7 p {
    color: #C83844;
    font-size: 15px;
}


.wpcf7 input {
    width: 100%;
    max-width: 960px;
    font-size: 15px;
    height: 31px;
    color: #BCBCBC;
    font-family: Helvetica, Sans-Serif;
    font-style: italic;
    font-weight: 300;
    padding: 6px;
    background: #f1f2f2;
    border: 1px solid #c4c4c4 !important;
    box-sizing: border-box;
    border-radius: 0px;
    -webkit-appearance: none;

}

.wpcf7 input:focus, .wpcf7 input:enabled {
    outline: none;
    border-color: #bcbcbc;
    background: #fff;
    font-style: normal;
    color: #595959 !important;
}

.wpcf7 input[type=submit] {
    height: 31px;
    background: #c63a47;
    color: #fff;
    font-style: normal;
    border: none;
    width: 100%;
    max-width: 960px;

}

.wpcf7 input[type=submit]:hover,
.wpcf7 input[type=submit]:focus {
    background: #595959;
    cursor: pointer;
}

.wpcf7-list-item {
    clear: both;
    display: block;
}

.wpcf7 input[type=checkbox] {
    width: auto;
    height: inherit;
    padding: 5px;
    display: inline-block;
    background: #fff;
    color: #595959;
}

.wpcf7 input[type=checkbox]:checked {
    border-color: #c63a47 !important;
}


.wpcf7 img {
    width: auto;
}


.ui-timepicker-div [data-icon]:before {
    font-family: inherit !important;
    content: '';
}

.header {
    margin-top: 136px;
    max-height: 735px;
    min-height: 735px;
    background-size: cover;
    width: 100%;
    background-position: right !important;
}

.header img {
    width: 100%;
    height: auto;
    margin: 15px 0;
}

/* Kopfbild Post Thumbnail ######################################################## */

.headerimage {
    position: relative;
    margin-top: 134px;
    width: 100%;
    height: 645px;
    overflow: hidden;
}

.headerimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tabelle Ärzte Seite */
.page-id-8 td, .page-id-966 td, .page-id-241 td {
    vertical-align: top;
    padding: 0 12px 0 0;
}

#kontakt {
    width: 348px;
    position: absolute;
    top: 390px;
    background: transparent;

}

#slogan {
    line-height: 72px;
    font-size: 60px;
    font-family: Helvetica, Sans-Serif;
    font-weight: 300;
    padding: 0 18px 18px;
}

#fon, #opened, #specialoffer, #terminrotebox {
    width: 312px;
    background: #aa0a1f;
    color: #fff;
    padding: 10px 18px;
    line-height: 24px;
    font-size: 20px;
    font-family: Helvetica, Sans-Serif;
    font-weight: 300;
    margin-bottom: 10px;
}

#specialoffer a:link,
#specialoffer a:visited,
#termin a:link,
#termin a:visited,
#terminrotebox a:visited,
#terminrotebox a:link {
    color: #fff !important;
}

#terminrotebox {
    margin: 20px 0 20px 0;
}

#terminrotebox:hover {
    background: #d37985 !important;
}

#specialoffer:hover,
#fon:hover {
    background: #d37985;
}

#opened {
    background: #595959;
}

#termin {
    width: 312px;
    background: #aa0a1f;
    color: #fff;
    padding: 10px 18px;
    line-height: 24px;
    font-size: 20px;
    font-family: Helvetica, Sans-Serif;
    font-weight: 300;
    margin-bottom: 10px;
}

#termin:hover {
    background: #d37985;
}


#logo {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    z-index: 1000;
}

#logo img {
    width: inherit;
    margin-top: 35px;
}

#main {
    width: 100%;
    margin: 0 auto;


}


.entry-content {
    width: 100%;
    margin: 134px auto 0;
    max-width: 960px;
}

.header + .entry-content,
.headerimage + .entry-content {
    margin-top: 0;
}

#section-2 .entry-content,
#section-3 .entry-content,
#section-4 .entry-content,
#section-5 .entry-content {
    margin-top: 50px;
}


.left {
    width: 67%;
    max-width: 687px;
    display: inline-block;
    vertical-align: top;
}

.right {
    margin-left: 8%;
    width: 24%;
    max-width: 245px;
    display: inline-block;
    font-size: 15px;
    line-height: 18px;
}

.left h1, .right h1 {
    margin-bottom: 2em;
}

.right > p {
    margin: 0 0 1.5em;
}


/* Startseite Section 1 ######################################################## */

.kopfbild1 {
    background: #efefef;
    position: absolute;
    left: 0;
    margin-top: 630px;
    width: 100%;
    height: 200px;
    padding-bottom: 38px;
    z-index: 10;

}

#buttons {
    width: 100%;
    max-width: 960px;
    position: relative;
    margin: 0px 0 300px;
    background: #fff;
    z-index: inherit;
    top: 40px;
    text-align: center;
}

.button {
    display: inline-block;
    background: #fff;
    width: 240px;
    height: 240px;
    position: relative;
    color: #fff;
    vertical-align: top;
    margin-right: 10%;
    text-align: center;
    border-radius: 120px;
    z-index: 100;
}

.button:hover {
    background: #c63a47;
}

.button:last-child {
    margin-right: 0;
}


.button img {
    position: relative;
    border-radius: 120px;
}

.button img.kreis {
    z-index: 10;
}

.button:hover img.kreis {
    margin-left: -9999px;
}

.button h3 {
    font-size: 20px;
    font-weight: 300;
    position: absolute;
    top: 250px;
    width: 100%;
}

.button_text {
    display: block;
    margin: 0 auto;
    margin-top: -170px;
    position: relative;
    text-align: center;
    font-size: 18px;
    line-height: 26px;
    opacity: 0;
    z-index: 100;
}

.button2_text {
    margin-top: -190px;
}

.button:hover .button_text {
    opacity: 1;
    z-index: 100;
    color: #fff;
}


/* Startseite Sections 2-5 ######################################################## */

#section-2 {
    background: url(./images/praxis.jpg) no-repeat;
}

#section-3 {
    background: url(./images/krankenhaus.jpg) no-repeat;
}

#section-4 {
    background: url(./images/leistungsspektrum.jpg) no-repeat;
}

#section-5 {
    background: url(./images/spezialsprechstunde.jpg) no-repeat;
}


#section-6 {
    background: url(./images/impfen.jpg) no-repeat;
}

#section-2,
#section-3,
#section-4,
#section-5,
#section-6 {
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 632px;
    display: block;
    margin-bottom: 310px;
    border-top: 50px solid #fff;
}

#section-4 {
    background-position: center 40px;
}

/*
#section-5 {
    margin-bottom: 30px;
}
*/

/* ############## #section-6 - letzte Section Startseite ################ */

#section-6 {
    margin-bottom: 30px;
}


.home h2 {
    width: 98%;
    margin: 0 auto;
    max-width: 960px;
    display: block;
    margin-top: -60px;
}


/* Unterseiten Section Diagnostik / Thearpie ######################################################## */

#diagnostik {
    background: #efefef;
    position: relative;
    top: 240px;
    margin-bottom: 240px;
    min-height: 632px;

}

.page h3 {
    width: 100%;
    margin: 0 auto;
    max-width: 960px;
    padding-top: 70px;
}

.page h4 {
    width: 100%;
    margin: 0 auto;
    max-width: 960px;
}

.content {
    width: 98%;
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 0 20px;
}

#therapie {
    position: relative;
    top: 130px;
    min-height: 632px;

}

.page .content li {
    margin-left: 15px;
}

.page .content li:before {
    content: '> ';
    position: absolute;
    margin-left: -15px;

}

/* Unterseiten Part 1 ######################################################## */
/*
#part-1, #part-3 {
    background:#efefef;
    position: relative;
    top: 240px;
    min-height:632px;
}
*/

#part-1 {
    background: #efefef;
    position: relative;
    top: 240px;
    margin-bottom: 240px;
    min-height: 550px;
}

#part-3, #part-5 {
    background: #efefef;
    position: relative;
    min-height: 550px;
}

/* ################ Wir testen Unterseite #################
#part-2, #part-4 {
    position: relative;
    min-height: 500px;
}
 */

/* ########### Dies hier ist glaube ich der "last part" - wieder einschalten!! #########
#part-2 {
    position: relative;
    top: 130px;
    min-height:632px;
}

 */


/* Navigation ######################################################## */

#headline {
    width: 100%;
    padding: 0;
    height: 130px;
    position: fixed;
    top: 0px;
    z-index: 1000;
    background: #fff;
    border-bottom: 36px solid #aa0a1f;

}

#mainmenu {
    position: fixed;
    top: 136px;
    width: 100%;
    text-align: center;
    z-index: 1000;
    background: #aa0a1f;
}

.menu-main-container {
    width: 100%;
    max-width: 960px;
    display: block;
    margin: 0 auto;
}

.menu li {
    font-size: 16px;
    line-height: 24px;
    display: inline-block;
    padding: 0 21px 0 0;
    text-decoration: none;
}

.menu li {
    padding-right: 20px;
}


ul li.current-menu-parent a {
    color: #fff;
    text-decoration: underline;
}

.menu li a {
    color: #fff;
    display: block;
}

.menu li a:hover {
    color: #fff;
    text-decoration: underline;
}


/* subnavi ######################################################## */

ul.pagetitle {
    position: absolute;
    top: 600px;
}

.scroll-nav ul.pagetitle {
    top: -60px;
}


.page-id-554 .scroll-nav { /* Wir Testen */
    position: absolute;
    top: 485px;
}


.page-id-560 .scroll-nav { /* Wir Impfen */
    position: absolute;
    top: 480px;
}


ul.pagetitle li, .subnavi h4 {
    display: block;
    width: 370px;
    color: #fff;
    height: 55px;
    line-height: 55px;
    font-size: 20px;
    padding-left: 20px;
    background-color: #595959;
    opacity: 0.85;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
    filter: alpha(opacity=85);
    list-style: none;
    margin: 0 0 5px 0;
}

.parent-pageid-22 ul.pagetitle li, .parent-pageid-22 .subnavi h4 {
    width: 420px;
}

.subnavi h4 {
    padding-left: 0;
    text-transform: none;
    margin-top: 0;
}

ul.subpage {
    position: static !important;
    top: 0px;
}


.scroll-nav {
    position: absolute;
    top: 660px;
    margin-left: 0;
    z-index: 10;
    background: transparent;
    width: 300px;
}

ul.subnavi li {
    list-style: none;
    margin: 0 0 5px 0;
}

ul.subnavi li a {
    display: block;
    width: 370px;
    color: #fff;
    height: 55px;
    line-height: 55px;
    font-size: 20px;
    padding-left: 20px;
    background-color: #C83844;
    opacity: 0.85;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
    filter: alpha(opacity=85);
}

ul.large li a {
    width: 420px;
}

ul.subnavi li a:hover {
    background-color: #595959;
}

ul.subnavi li h4 a {
    background-color: #595959;
    padding-left: 0;
}


.icon-uhr {
    float: right;
    font-size: 24px;
    color: #ddd;
}

.icon-uhr.white, .icon-anfahrt {
    display: block;
    color: #fff;
    font-size: 36px;
    float: none;
    margin-bottom: 16px;
}

.icon-arrow {
    font-size: 28px;
    display: block;
    margin: 0 auto;
    text-align: center;
    vertical-align: middle;
    color: #595959;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #ccc;
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
    -webkit-box-shadow: 0px -9px 5px -5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px -9px 5px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px -9px 5px -5px rgba(0, 0, 0, 0.3);
    background: #fff;
    opacity: 0.85;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
    filter: alpha(opacity=85);
}

.up {
    -ms-transform: rotate(0deg); /* IE 9 */
    -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
    transform: rotate(0deg);
}

.icon-arrow:before {
    line-height: 50px;
}

.icon-arrow:hover {
    color: #777;
}

.scrolldown {
    margin-top: -25px;
}

.home .scrolldown {
    margin-top: -160px;
}

.scrolldown2 {
    margin-top: -25px;
}

.scrollup2 {
    margin-top: 0;
}

/*
.scrolldown3 {
    position: absolute;
    margin-top:-130px;
    width:100%;
}
*/

/* ################ Wir testen (Tests) ################# */

.scrolldown3,
.scrollup3 {
    margin-top: -25px;
}

.scrolldown4,
.scrollup4 {
    margin-top: -25px;
}

/* ################ Bis hier - Wir testen (Tests) ################# */

.scrollup {
    margin-top: 230px;
}

.abstand {
    display: inline-block;
    width: 40px;
}


#footer {
    clear: both;
    text-align: center;
    background: #595959;
    color: #fff;
    height: 36px;
    line-height: 36px;
    font-size: 11px;
    margin-top: 100px;
    height: auto;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

#footer span.zu {
    display: none;
}



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

    #logo img {
        margin: 20px 0 0 10px;
    }

    .header {

        background-position: center !important;
    }

    .home h1 span {
        display: none;
    }

    .home .left h1 {
        margin-bottom: 0px;
    }

    .home .right h1 {
        margin-bottom: 2.5em;
    }

    .home .left {
        padding-left: 2%;
        width: 65%;
    }

    .home .right {
        width: 26%;
        margin-left: 6%;
    }

    .button {
        width: 200px;
        height: 200px;
        margin-right: 5%;
    }

    #headline {
        border-bottom-width: 18px;
        height: 142px;
    }

    .page h3, .page h4 {
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
    }

    ul.pagetitle {
        top: 580px;
    }

    .scroll-nav {
        top: 640px;
    }

    #kontakt {
        top: 350px;
    }

    #footer {
        height: auto;
        line-height: 1.5em;
        text-align: left;
        width: 96%;
        padding: 2% 2% 2%;
    }

    span.ipad {
        display: none;
    }

    .entry-content {
        margin: 134px auto 0;
    }

}

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

    #logo {
        width: 170px;
        position: absolute;
    }

    #navi {
        position: static;
        height: 125px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }


    header {
        margin-top: 0px;

    }


    #main {
        width: 96%;
        margin: 0 2%;
    }

    h1 {
        font-size: 24px;
        line-height: 28px;
    }

    h2, h3 {
        font-size: 1.4em;
        line-height: 1.2em;
    }

    #logo img {
        margin: 20px 0 0 10px;
    }

    .header {
        margin-top: 80px;
        max-height: 735px;
        min-height: 170px;
        background-size: 100%;
        width: 100%;
        background-size: 100% !important;
    }

    #headline {
        border-bottom-width: 8px;
        height: 80px;
    }

    .headerimage {
        position: relative;
        margin-top: 88px;
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    .headerimage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .entry-content {
        margin: 88px auto 0;
    }


    ul.pagetitle li, .subnavi h4, ul.large li a, ul.subnavi li a {
        max-width: 100%;
    }

    .parent-pageid-22 ul.pagetitle li, .parent-pageid-22 .subnavi h4 {
        max-width: 100%;
    }

    #kontakt {
        width: 100%;
        margin: 0;
        padding: 0;
        display: block;
        position: static;
        clear: both;

    }

    #termin {
    }


    #opened, #fon, #termin, #specialoffer {
        max-width: 100%;
        width: 100%;
        display: block;
        position: static;
        clear: both;
        box-sizing: border-box;

    }

    .home #section-2,
    .home #section-3,
    .home #section-4,
    .home #section-5,
    .home #section-6,
    .home .scrolldown,
    .scrolldown, .scrolldown2, .scrollup, .scrollup2, .scrolldown3, .scrolldown4,
    .kopfbild1, #buttons {
        display: none;
    }

    /* Startseite: scroll-nav dort nicht anzeigen */
    .home .scroll-nav {
        display: none;
    }

    /* Unternavigation mobil: wie Desktop, vertikal, eckig */
    .scroll-nav {
        position: static;
        width: 100%;
        margin: 118px 0 0 0;
        padding: 0;
        background: transparent;
        z-index: auto;
    }

    .scroll-nav ul.subnavi {
        display: block;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .scroll-nav ul.subnavi li {
        margin: 0 0 5px 0;
    }

    .scroll-nav ul.subnavi li a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        height: 55px;
        line-height: 55px;
        font-size: 20px;
        padding-left: 20px;
        background-color: #C83844;
        color: #fff;
        opacity: 0.85;
        border-radius: 0;
    }

    .scroll-nav ul.subnavi li a:hover {
        background-color: #595959;
    }

    .scroll-nav ul.subnavi li h4 a {
        background-color: transparent !important;
        color: #C83844 !important;
        display: inline !important;
        padding: 0 !important;
        height: auto !important;
        line-height: inherit !important;
        opacity: 1 !important;
    }

    #slogan {
        padding: 0;
        max-width: 70%;
        font-size: 20px;
        line-height: 24px;
        margin-top: -80px;
    }

    #fon {
        margin-top: 0px;
    }

    .left, .right {
        position: static;
        width: 100%;
        clear: both;
        float: none;
        margin-left: 0;
        margin-right: 0;
        max-width: inherit;
    }

    .left h1, .right h1 {
        margin-bottom: 1em;
    }

    .right {
        margin-top: 30px;
    }

    .right span {
        display: none;
    }

    #footer {
        height: auto;
        line-height: 1em;
        text-align: left;
        width: 96%;
        padding: 5% 2% 5%;
        font-size: 1em;
        margin-top: 8px;
    }

    #footer span {
        display: none;
    }

    #footer span.zu {
        display: block;
        height: 3px;
    }

    ul.pagetitle {
        display: block;
        position: static;
        margin-bottom: 10px;
    }

    ul.pagetitle li {
        max-width: 96%;
    }

    ul.pagetitle li, .subnavi h4 {
        background: transparent;
        width: auto;
        color: #595959;
        font-size: 1.2em;
        line-height: 1.2em;
        padding-left: 16px;
        padding-bottom: 1px;
        font-weight: 300;
        height: auto;
        text-transform: none;
        margin-top: 0;
    }

    .subnavi h4 {
        padding-left: 0 !important;
    }

    #diagnostik, #therapie, #part-1, #part-2, #part-3, #part-4 {
        position: static;
        min-height: inherit;
        width: 96%;
        padding: 0 2%;
        margin: 30px 0 0 0;
    }

    #part-1,
    .page-id-10 #part-2,
    .page-id-241 #part-2,
    .page-id-224 #part-2,
    .page-id-554 #part-2,
    .page-id-560 #part-2 {
        margin-top: 10px;
    }

    .wpcf7 {
        font-size: 15px;
        margin-bottom: 0px !important;
    }

}

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

    .home .left, .home .right {
        width: 98%;
        float: none;
        display: block;
        margin: 0 auto;
    }

    .home .right h1 {
        margin-bottom: 1em;
    }

    .home #footer #desk {
        display: none;
    }
}

#desk {
    display: inline;
}
