/*
 * (c) pfeifer marketing, Madlenerstraße 13, 87700 Memmingen
 */

/*
Orange: #F5907A
Blau: #0B2B56
 */

.orange {
    color: #F5907A;
}

.blau {
    color: #0B2B56;
}

body {
    font-family: "rig-sans", sans-serif;
    font-weight: 400;
    font-style: normal;

    font-size: 18px;
    line-height: 1.5;

    background: #fff;
    margin: 0;
    width: 100%;
    height: 100%;
    min-width: 320px;
}

b {
    font-family: "rig-sans", sans-serif;
    font-weight: 600;
    font-style: normal;
}

i {
    font-family: "ff-real-headline-pro", sans-serif;
    font-weight: 300;
    font-style: italic;
}

b i,
i b {
    font-family: "ff-real-headline-pro", sans-serif;
    font-weight: 500;
    font-style: italic;
}

h1 {
    font-family: "rig-sans", sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.2;
    color: #0B2B56;
    margin: 0 0 6px 0;
}

h2 {
    font-family: "rig-sans", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    color: #0B2B56;
    margin: 0 0 6px 0;
}

h3 {
    font-family: "ff-real-headline-pro", sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
    font-style: italic;
    color: #0B2B56;
    margin: 0 0 6px 0;
}

h4 {
    font-family: "ff-real-headline-pro", sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.2;
    color: #0B2B56;
    margin: 0 0 6px 0;
}

@media only screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }
}

p {
    margin: 0;
}

#Layer_Content {
    min-height: 100%;
    width: 100%;
}

header {
    min-width: 320px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 40;
    height: 70px;
    background: transparent;
    transition: .2s background-color;
}

.scrolled header {
    background: #fff;
}

header a.logo {
    position: absolute;
    z-index: 30;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
}

header a.logo img {
    display: block;
    width: 150px;
}

.menue_container {
    padding: 28px 20px 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1118px;
    position: relative;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.menue_container > * {
    display: flex;
    gap: 20px;
}

.menue_container a {
    white-space: nowrap;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    color: #0B2B56;
}

.menue_left {
    right: 120px;
}

.menue_right {
    left: 120px;
}

#naviMobile {
    display: none;
}

@media only screen and (max-width: 768px) {
    #naviMobile {
        display: block;
        position: fixed;
        left: 20px;
        top: 22px;
        width: 35px;
        height: 28px;
        cursor: pointer;
        z-index: 11;
    }

    #naviMobile::before,
    #naviMobile::after,
    #naviMobile > span::before {
        content: '';
        border-bottom: 2px solid #0B2B56;
        position: absolute;
        left: 0;
        width: 22px;
    }

    #naviMobile::before {
        top: 5px;
        transition-property: top, transform;
        transition-duration: .3s, .3s;
        transition-delay: .3s, 0s;
        width: 12px;
    }

    #naviMobile::after {
        bottom: 5px;
        transition-property: bottom, transform;
        transition-duration: .3s, .3s;
        transition-delay: .3s, 0s;
        width: 12px;
        left: 10px;
    }

    #naviMobile > span::before {
        transition: opacity .3s;
    }

    #naviMobile > span::before {
        top: 50%;
        margin-top: -1px;
    }

    .NavOpened #naviMobile::before {
        top: 50%;
        transform: rotate(45deg);
        transition-delay: 0s, .3s;
        width: 20px;
        left: 2px;
    }

    .NavOpened #naviMobile::after {
        bottom: calc(50% - 2px);
        transform: rotate(-45deg);
        transition-delay: 0s, .3s;
        width: 20px;
        left: 2px;
    }

    .NavOpened #naviMobile > span::before {
        opacity: 0;
    }

    .menue_container {
        display: block;
        position: fixed;
        top: 64px;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: -1;
        padding-top: 20px;
        background: rgba(255, 255, 255, 0.95);
        overflow: scroll;
        opacity: 0;
        transition: .4s;
        transform: translateY(-100%);
    }

    .NavOpened .menue_container {
        transform: translateY(0);
        opacity: 1;
    }

    .menue_container > * {
        width: 100%;
        text-align: center;
        position: static;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-items: center;
        margin-bottom: 10px;
    }

    .menue_container a:link,
    .menue_container a:visited,
    .menue_container a:hover,
    .menue_container a:focus {
        line-height: 35px;
        font-size: 22px;
    }
}

a {
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    text-decoration: none;
    outline: 0;
}

.button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    color: #fff;
    line-height: 1.42857;
    margin-bottom: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: #F5907A;
    padding: 12px 16px 10px;
    text-decoration: none !important;
}

.button:hover,
.button:focus {
    opacity: 0.6;
}

.button.button-border.black {
    border-color: #3b3b3b;
    color: #3b3b3b;
    background: transparent;
}

.button.button-border.black:hover,
.button.button-border.black:focus {
    color: #fff;
    border: 1px solid transparent;
    background: #3b3b3b;
    opacity: 1;
}

.button.button-border.black.telefon {
    padding-left: 40px;
    background-image: url(/images/icons/phone_black.svg);
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 20px 20px;
}

.button.button-border.black.telefon:hover {
    background-image: url(/images/icons/phone.svg);
}


.button.button-border.white {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.button.button-border.white:hover,
.button.button-border.white:focus {

}

.template_1 {
    padding: 70px 0;
}

.template_1 h3 {
    margin-bottom: 20px;
}

.template_1 .row {
    margin: 0 auto;
    max-width: 1118px;
    padding: 0;
    width: 100%;
}

.template_1 .row > div {
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
}

.template_1 .row1 {
    width: 66.67%;
    padding-bottom: 40px !important;
    margin-bottom: 40px;
}

.template_1 .row1:after {
    content: "";
    background: #F57A7B;
    display: inline-block;
    height: 3px;
    position: absolute;
    width: 120px;
    bottom: 0;
}

.template_1 .row2 {
    margin-top: 70px;
    display: flex;
    gap: 60px 20px;
}

.template_1 .row2 > div {
    padding-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
    width: 33.33%;
    box-sizing: border-box;
}

.template_1 .row2 p {
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .template_1 .row1 {
        width: 100%;
    }

    .template_1 .row2 {
        flex-grow: unset;
        flex-wrap: wrap;
    }

    .template_1 .row2 > div {
        width: 43%;
        min-width: 280px;
    }
}

@media screen and (max-width: 620px) {
    .template_1 .row > div {
        flex-direction: column;
        align-content: center;
        text-align: center;
    }

    .template_1 .row2 > div {
        align-items: center;
        padding-right: 0;
    }
}


.template_2 {
    padding: 0;
}

.template_2 .row {
    display: flex;
}

.template_2 .column {
    position: relative;
    width: 50%;
    height: 0;
    padding-bottom: 33.33%;
}

.template_2 .cell {
    position: absolute;
    overflow: hidden;
}

.template_2 .cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template_2 .cell1 {
    left: 0;
    top: 0;
    bottom: 0;
    width: 66.66%;
}

.template_2 .cell2 {
    right: 0;
    top: 0;
    bottom: 50%;
    width: 33.34%;
}

.template_2 .cell3 {
    right: 0;
    top: 50%;
    bottom: 0;
    width: 33.34%;
}

.template_2 .cell4 {
    left: 0;
    top: 0;
    bottom: 50%;
    width: 66.66%;
}

.template_2 .cell5 {
    right: 0;
    top: 0;
    bottom: 50%;
    width: 33.34%;
}

.template_2 .cell6 {
    left: 0;
    top: 50%;
    bottom: 0;
    width: 33.33%;
}

.template_2 .cell7 {
    left: 33.34%;
    top: 50%;
    bottom: 0;
    width: 33.33%;
}

.template_2 .cell8 {
    right: 0;
    top: 50%;
    bottom: 0;
    width: 33.34%;
}

@media screen and (max-width: 768px) {
    .template_2 .row {
        flex-direction: column;
    }

    .template_2 .column {
        width: 100%;
        padding-bottom: 66.66%;
    }
}

.template_3 {
    padding: 70px 0;
    background: #e3e3e3;
}

.template_3 .row {
    margin: 0 auto;
    max-width: 1118px;
    padding: 0;
    width: 100%;
    display: flex;
}

.template_3.reverse .row {
    flex-direction: row-reverse;
}

.template_3 .column {
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
    width: 50%;
}

.template_3 .column.column2 {
    padding-left: 0;
}

.template_3.reverse .column.column2 {
    padding-left: 20px;
    padding-right: 0;
}

.template_3 img {
    display: block;
    width: 100%;
    margin: 0 auto;
    max-width: 540px;
}

@media screen and (max-width: 640px) {
    .template_3 .row {
        flex-direction: column-reverse !important;
    }

    .template_3 .column {
        width: 100%;
    }

    .template_3 .column.column2 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-bottom: 20px !important;
    }
}

.template_4 {
    padding: 70px 0;
    background: #f6f6f6;
}

.template_4 .row {
    margin: 0 auto;
    max-width: 1118px;
    padding: 0;
    width: 100%;
}

.template_4 .row1 {
    text-align: center;
    padding: 0 20px;
}

.template_4 p {
    margin: 0 auto;
    max-width: 600px;
}

.template_4 h3 {
    margin: 0 auto;
    max-width: 600px;
}

.template_4 .row1 h3:after {
    content: "";
    background: #F57A7B;
    display: block;
    height: 3px;
    position: relative;
    width: 120px;
    margin: 20px auto 40px;
}

.template_4 .row1 img {
    display: block;
    width: 100%;
}

.template_4 .row2 {
    display: flex;
    gap: 60px 20px;
    padding: 70px 20px 0;
}

.template_4 .row2 > div {
    flex-grow: 1;
}

.template_4 .adresse {
    padding-bottom: 20px;
}

.template_4 table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.template_4 tr td {
    vertical-align: top;
    padding-bottom: 5px;
}

.template_4 tr td:first-child {
    padding-right: 10px;
}

@media screen and (max-width: 768px) {
    .template_4 .row2 {
        flex-wrap: wrap;
    }

    .template_4 .row2 > div {
        width: 280px;
        flex-grow: unset;
    }
}

@media screen and (max-width: 620px) {
    .template_4 .row2 {
        flex-direction: column;
        align-content: center;
    }
}

.template_5 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.template_5 .row {
    padding: 100px 20px 0;
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
}

.template_5 .column {
    margin: 0 auto;
    max-width: 1078px;
    padding: 0;
    width: 100%;
}

.template_5 .column:after {
    content: "";
    background: #F57A7B;
    display: block;
    height: 6px;
    line-height: 6px;
    position: relative;
    width: 120px;
    margin-top: 40px;
}

.template_6 {
    padding: 70px 0;
}

.template_6 .row {
    margin: 0 auto;
    max-width: 1118px;
    padding: 0;
    width: 100%;
    display: flex;
}

.template_6.reverse .row {
    flex-direction: row-reverse;
}

.template_6 .column {
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
}

.template_6 .column.column1 {
    width: 33.33%;
}

.template_6 .column.column2 {
    width: 66.67%;
}

.template_6 img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.template_6 h2,
.template_6 h4 {
    margin-bottom: 0;
}

.template_6 .headlines {
    margin-bottom: 40px;
    position: relative;
}

.template_6 .headlines:after {
    content: "";
    background: #F57A7B;
    display: block;
    height: 3px;
    line-height: 3px;
    position: relative;
    width: 120px;
    margin-top: 40px;
}

@media screen and (max-width: 640px) {
    .template_6 .row {
        flex-direction: column !important;
    }

    .template_6 .column.column1,
    .template_6 .column.column2 {
        width: 100%;
    }

    .template_6 .column.column1 {
        margin-bottom: 20px;
    }
}


.template_7 {
    padding: 70px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.template_7:before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
}

.template_7 .row {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 1118px;
    padding: 0;
    width: 100%;
}

.template_7 .row1 {
    padding: 0 20px;
    text-align: center;
}

.template_7 .row1 h2 {
    margin-bottom: 40px;
}

.template_7 .row2 {
    padding: 0 20px;
    width: 100%;
    display: flex;
    gap: 40px;
    box-sizing: border-box;
}

.template_7 .column {
    display: flex;
    flex-direction: column;
    background: #fff;
    width: 33.33%;
}

.template_7 .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template_7 .column h4 {
    margin: 20px 10px;
    text-align: center;
}

.template_7 .row3 {
    padding: 40px 20px 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .template_7 h4 {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .template_7 .row2 {
        flex-wrap: wrap;
        justify-content: center;
    }

    .template_7 .column {
        flex-grow: unset;
        width: 280px;
    }
}

.template_8 {
    padding: 100px 0;
    background-color: #dedede;
}

.template_8 .row {
    margin: 0 auto;
    max-width: 1118px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}


ul.time-line-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.time-line-list li {
    padding: 15px 0 15px 35px;
    position: relative;
}

.time-line-list li::before {
    content: "";
    height: 25px;
    width: 25px;
    border: 1px solid #dedede;
    background: white;
    position: absolute;
    left: 0;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.time-line-list li::after {
    content: "";
    height: 100%;
    width: 1px;
    background: #dedede;
    position: absolute;
    left: 12px;
    top: 40px;
}

.time-line-list li:last-child::after {
    display: none;
}

.time-line-list li .year {
    display: block;
    color: #F57A7B;
}

footer {
    margin: 40px auto;
    max-width: 1118px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer_navi {
    width: 100%;
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer_navi > div {
    display: flex;
    flex-direction: column;
    width: 23%;
    /*min-width: 250px;*/
}

.footer_navi > div a {
    color: #000;
}

.footer_navi a.topsite {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer_abspann {
    padding: 40px 0;
    border-top: 1px solid #d7d7d7;
    color: #d7d7d7;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.abspann_logo a {
    color: #d7d7d7 !important;
}

.abspann_logo a:hover {
    opacity: 0.6;
}

@media screen and (max-width: 768px) {
    .footer_navi {
        gap: 20px;
        justify-content: space-between;
    }

    .footer_navi > div {
        width: auto;
    }
}

@media screen and (max-width: 480px) {
    .footer_navi {
        flex-direction: column;
        align-items: center;
    }

     .footer_navi > div {
         align-items: center;
     }

     .footer_navi a.topsite {
         margin-bottom: 10px;
     }

      .footer_navi a:not(.topsite) {
          margin-bottom: 5px;
      }
}

@media screen and (max-width: 540px) {
    .footer_abspann {
        flex-direction: column-reverse;
    }
}

#slideshow-container {
    position: relative;
    width: 100%;
    float: none !important;
    padding: 0;
    margin: 0;
}

#slideshow-container + section {
    padding-top: 100px;
}

#slideshow-container .tp-rightarrow.default,
#slideshow-container .tp-leftarrow.default {
    width: 64px;
    height: 96px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

#slideshow-container .tp-rightarrow.default:hover:before,
#slideshow-container .tp-leftarrow.default:hover:before {
    color: #F5907A;
}

#slideshow-container .tp-leftarrow.default:before,
#slideshow-container .tp-rightarrow.default:before {
    font-family: "FontAwesome";
    content: "\f104";
    color: #fff;
    position: relative;
    line-height: 96px;
    font-size: 42px;
    right: 5px;
    bottom: 1px;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
}

#slideshow-container .tp-rightarrow.default:before {
    font-family: "FontAwesome";
    content: "\f105";
    left: 5px;
}

.slideshow {
    width: 100%;
    height: 778px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background: #F5907A;
}

.tp-simpleresponsive ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp-simpleresponsive > ul > li {
    list-style: none;
    position: absolute;
    visibility: hidden;
}

.slider1-caption1 {
    font-family: "rig-sans", sans-serif;
    font-weight: 400;
    font-size: 80px;
    line-height: 1;
    color: #0B2B56;
    margin: 0 0 6px 0;
    text-shadow: 0px 0px 20px #FFFFFF, 0px 0px 40px #FFFFFF;
}

.slider1-caption2 {
    font-family: "ff-real-headline-pro", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 64px;
    line-height: 1.2;
    color: #0B2B56;
    margin: 0 0 6px 0;
    text-shadow: 0px 0px 20px #FFFFFF, 0px 0px 40px #FFFFFF;
}

.slideshow .slider1-separator::before {
    content: "";
    width: 120px;
    height: 3px;
    background: #F5907A;
    display: inline-block;
}

@media only screen and (max-width: 1200px) {
    .slider1-caption1,
    .slider1-caption2,
    .slider1-separator {
        margin-left: 100px;
    }
}

@media only screen and (max-width: 768px) {
    /*#slideshow-container {
        height: 50vh !important;
    }*/
    #slideshow-container .tp-rightarrow.default,
    #slideshow-container .tp-leftarrow.default {
        width: 40px;
        height: 40px;
    }

    #slideshow-container .tp-leftarrow.default::before,
    #slideshow-container .tp-rightarrow.default::before {
        line-height: 40px;
        font-size: 30px;
    }

    #slideshow-container .tp-rightarrow.default:before {
        left: 0;
    }

    .slider1-caption1,
    .slider1-caption2,
    .slider1-separator {
        margin-left: 150px;
    }
}

@media only screen and (max-width: 480px) {
    /*#slideshow-container {
        height: 33vh !important;
    }*/
}


.footer_buttons {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;

    background: rgba(245, 144, 122, 0.6);
    padding: 10px 0;

    color: #fff;

    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
}

.footer_buttons .row {
    margin: 0 auto;
    max-width: 1118px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_buttons .buttons {
    width: 50%;
    display: flex;
    gap: 20px;
    justify-content: end;
    align-items: center;
}

.footer_buttons .button {
    margin-bottom: 0;
    padding-left: 50px;
}

.footer_buttons .button.termin {
    background: url(/images/icons/termin-buchen.svg) no-repeat left 15px center transparent;
    background-size: 20px 20px;
}

.footer_buttons .button.rezept {
    background: url(/images/icons/rezept-nachbestellen.svg) no-repeat left 15px center transparent;
    background-size: 20px 20px;
}

.footer_buttons .button.kontakt {
    background: url(/images/icons/kontakt-aufnehmen.svg) no-repeat left 15px center transparent;
    background-size: 20px 20px;
}

@media only screen and (max-width: 1024px) {
    .footer_buttons .buttons {
        gap: 10px;
    }

    .footer_buttons .button {
        padding-left: 40px;
    }
}

@media only screen and (max-width: 768px) {
    .footer_buttons .row {
        flex-direction: column;
        gap: 20px;
    }

    .footer_buttons .buttons {
        width: 100%;
        justify-content: center;
    }

    .footer_buttons .text {
        text-align: center;
    }

    .scrolled .footer_buttons .text {
        display: none;
    }
}

@media only screen and (max-width: 380px) {
    .footer_buttons .button {
        padding-left: 16px !important;
        background-image: none !important;
    }
}

#kontakt .a {
    scroll-behavior: smooth;
}