@font-face {
    font-family: 'NinfaSerif';
    src: url('../fonts/regular-NinfaSerif.ttf') format('truetype');
}
@font-face {
    font-family: 'NinfaSerif-bold';
    src: url('../fonts/bold-NinfaSerif.ttf') format('truetype');
}
@font-face {
    font-family: 'NinfaSerif-italic';
    src: url('../fonts/NinfaSerif-LightItalic.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'NinfaSerif';
    overflow: hidden auto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
    margin: 0;
    padding: 0;
}

p {
    margin-bottom: 15px;
}

p:last-child {
    margin-bottom: 0;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

ol,
ul,
dl {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
}

header {
    background: #f7e1e3;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 44px;
    min-height: 72px;
    max-width: 1840px;
    margin: 0 auto;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 70px;
}

header nav ul li a {
    display: block;
    font-size: 22px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    color: #c50347;
    font-family: 'NinfaSerif';
}

header nav ul li a:hover {
    text-decoration: underline;
}

header nav ul li {
    display: flex;
    align-items: center;
}

section#head {
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    padding-top: 91px;
}

section#head img {
    display: block;
    width: 230px;
    margin: 0 auto 8px auto;
}

section#head h1 {
    font-size: 32px;
    text-transform: uppercase;
    line-height: 121%;
    color: #c50347;
    margin-top: .5em;
}

section#head h1 span {
    font-weight: 300;
    text-transform: none;
    display: block;
    font-size: 24px;
    font-family: 'NinfaSerif-italic';
    display: block;
    max-width: 310px;
    margin: 0 auto;
	color: black;
}

section#infos {
    max-width: 1811px;
    margin: 0 auto;
    display: flex;
    /* align-items: center; */
    margin-top: 98px;
    padding-bottom: 98px;
}

.infoText {
    text-align: center;
    width: 38%;
    flex-shrink: 0;
    margin: 0 auto;
    padding-top: 16px;
    padding-left: 60px;
}

#openPopupBtn:hover, #button#callNowBtn:hover {
	cursor: pointer;
}

.infoImg {
    width: 50%;
}

.infoText h3 {
    font-size: 36px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.2;
    margin-bottom: 50px;
    font-variant: small-caps;
    font-weight: 400;
}

.infoText h3 span {
    font-size: 39px;
}

.infoText p {
    font-size: 24px;
    max-width: 600px;
    margin: 0 auto 50px auto;
}


.infoText p.ihre {
    font-size: 26px;
    max-width: 450px;
    margin: 0 auto;
    font-weight: 300;
    margin-bottom: 49px;
    font-family: 'NinfaSerif-italic';
    color: #c50347;
}


button#openPopupBtn, button#callNowBtn {
    display: block;
    margin: 61px auto 0 auto;
    width: 80%;
    max-width: 440px;
    background: #c30248;
    color: #fff;
    font-size: 25px;
    padding: 20px 40px;
    border: 0;
    outline: none;
    box-shadow: none;
    font-family: 'NinfaSerif';
}

.changeCOntainer {
    max-width: 1750px;
    padding: 0 20px 0 9%;
    margin: 0 auto;
    display: flex;
    gap: 50px;
}

.changeCOntainer>div {
    width: 42%;
    flex-shrink: 0;
    padding-right: 2em;
}

.changeCOntainer aside {
    flex-grow: 1;
    padding-top: 12px;
}

.changeCOntainer>div h2 {
    font-size: 48px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 38px;
	font-variant: small-caps;
}

.changeCOntainer>div p {
    margin: 0 0 51px 0;
    font-size: 24px;
    line-height: 1.3;
}

.changeCOntainer aside h2 {
    font-size: 35px;
    font-weight: 300;
    line-height: 149%;
    margin-bottom: 21px;
    font-family: 'NinfaSerif-italic';
    color: #c50347;
}

.changeCOntainer aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.changeCOntainer aside ul li {
    font-size: 24px;
    line-height: 1.3;
    display: flex;
    position: relative;
    z-index: 1;
    gap: 5px;
}

.changeCOntainer aside ul {
    display: flex;
    flex-direction: column;
    gap: 43px;
    margin-bottom: 20px;
}

.changeCOntainer aside ul li::before {
    content: "–";
    font-size: 31px;
    line-height: 1;
}

.changeCOntainer aside p {
    font-size: 24px;
    line-height: 1.3;
    margin: 20px 0 0 0;
}

section#change {
    position: relative;
    z-index: 1;
    background-image: url(../images/text-bg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 100px 0;
}

section#offer {
    max-width: 1470px;
    margin: 0 auto;
    padding: 132px 20px 130px 20px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
    justify-content: space-between;
}

section#offer>div {
    width: 45%;
    max-width: 620px;
}

.offerLeft h2 {
    font-size: 51px;
    font-weight: 500;
    line-height: 119%;
    padding-top: 5px;
    color: #c50347;
    font-variant: small-caps;
    position: relative;
    z-index: 2;
}

.offerLeft img {
    display: block;
    width: 250px;
    margin-left: auto;
    margin-right: -28px;
    margin-top: -84px;
    margin-bottom: 230px;
}

.offerLeft h4 {
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 33px;
    color: #c50347;
}

.offerLeft p,
.offerRight p {
    font-size: 22px;
    line-height: 148%;
    margin: 0 0 0 0;
}

section#offer .offerLeft {
    max-width: 650px;
    padding-top: 26px;
}

.offerRight h4 {
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 33px;
    color: #c50347;
}

.offerRight button#openPopupBtn {
    max-width: 100%;
    width: 100%;
}

img.Physiotherapie {
    display: block;
    width: 100%;
    margin-bottom: 140px;
    margin-top: 80px;
}

section#offer2 blockquote p,
section#offer blockquote p {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 100px 30px 79px 30px;
    font-size: 35px;
    font-weight: 300;
    color: #c30248;
    font-family: 'NinfaSerif-italic';
}

section#offer2 blockquote p {
    margin-top: 100px;
}

section#offer2 blockquote p:after,
section#offer blockquote p:after {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 0;
    width: 100vw;
    height: 100%;
    content: '';
    background-image: url(../images/quotation-bg.png);
    transform: translate(-50%);
    background-size: 100% 100%;
}

section#offer2 blockquote,
section#offer blockquote {
    display: contents;
}

section#offer2 {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    padding: 14px 20px;
}

.offerLeft2 {
    width: 50%;
}

.offerRight2 {
    width: 42%;
}

.offerLeft2 h2 {
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 33px;
    font-variant: small-caps;
    color: #c50347;
}

.offerLeft2 h2::first-letter {
    font-size: 49px;
}

.offerLeft2 p {
    font-size: 24px;
    line-height: 151%;
}

.offerRight2 img {
    display: block;
    width: 100%;
}

.offerRight2 button#openPopupBtn {
    margin-left: 0;
}

footer {
    margin-top: 50px;
}

.footerTop {
    position: relative;
    z-index: 1;
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 250px 20px;
}

.addressCOntainer {
    max-width: 1500px;
    margin: 0 auto;
}

.addressCOntainer address {
    background: #fff;
    display: table;
    margin-left: auto;
    text-align: right;
    padding: 51px 50px 51px 58px;
    font-size: 23px;
    line-height: 147%;
    font-family: 'NinfaSerif';
    font-style: normal;
}

.addressCOntainer address h5 {
    font-size: 24px;
    text-transform: uppercase;
    color: #c50347;
    font-style: normal;
    font-family: 'NinfaSerif';
    line-height: 2em;
}


.addressCOntainer address span {
    display: block;
    font-size: 0;
    display: block;
    width: 26px;
    background: #c50347;
    height: 2px;
    margin-left: auto;
    margin-top: 19px;
    margin-bottom: 21px;
}

.addressCOntainer address a {
    color: #000;
}


footer nav ul {
  	display: -webkit-flex;
  	display: flex;
  	-webkit-flex-direction: row; /* Safari */
  	flex-direction: row;
  	-webkit-align-items: center; /* Safari */
  	align-items: center;
  	-webkit-justify-content: center; /* Safari */
  	justify-content: center;
  	list-style-type: none; /* Removes default list styles */
  	margin: 0;
  	padding: 15px 0;
}

footer nav ul li {
  	display: -webkit-inline-box; /* Older iOS Safari fallback */
  	display: inline-flex; /* Modern browsers */
  	-webkit-align-items: center; /* Safari */
 	 align-items: center;
  	margin: 0 10px; /* Adjusts spacing between items */
}

/* Ensures text aligns properly if fallback is used */
footer nav ul li a {
  	text-align: center;
  	padding: 10px; /* Optional: increases clickable area */
	text-transform: uppercase;
    color: #c50347;
    font-size: 20px;
}


footer nav ul li a:hover {
    text-decoration: underline;
}

section#appointment {
    display: flex;
    max-width: 1650px;
    padding: 60px 20px;
    align-items: center;
    margin: 0 auto;
    gap: 50px;
}

section#appointment>div {
    width: 680px;
    flex-shrink: 0;
}

img.lights {
    width: 40%;
    height: auto;
    flex-grow: 1;
}

section#appointment>div h3 {
    font-size: 32px;
    font-variant: small-caps;
    font-weight: 400;
    max-width: 430px;
    text-align: center;
    margin: 0 auto 50px auto;
}

section#appointment>div h3 span {
    font-size: 37px;
}

section#appointment>div h4,
section#list h4 {
    font-size: 26px;
    color: #c50347;
    font-weight: 500;
    margin: 0 0 20px 0;
}

section#appointment>div p,
section#list p,
section#appointment ul li,
section#list address {
    font-size: 21px;
    margin-top: 0;
}

section#appointment ul {
	padding-bottom: 2em;
}

section#list p span {
    font-family: 'NinfaSerif-italic';
    font-weight: 300;
}

section#list p span a {
	color: #c50347;
}

section#list {
    max-width: 1650px;
    padding: 30px 20px;
    max-width: 1650px;
    margin: 0 auto;
}

section#list address {
	padding-bottom: 1em;
}

section#list p a,
section#appointment ul li a {
    color: #000;
}

section#list h5 {
    font-size: 22px;
    font-weight: 400;
    color: #c50347;
    margin-bottom: .5em;
}

section#start h1 {
    font-size: 32px;
    text-transform: uppercase;
    line-height: 121%;
    padding-top: 50px;
}

section#start h1 span {
    font-size:26px ;
    font-weight: 300;
    font-style: italic;
    text-transform: capitalize;
}

section#start,
section#leagal {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 50px 30px 50px;
}

section#leagal h2 {
    font-size: 32px;
    color: #c50347;
    font-weight: 500;
    margin: 0 0 20px 0;
}

section#leagal address {
    font-size: 22px;
    color: #000;
    line-height: 1.5;
}

section#leagal address a {
    color: #000;
}

section#daten_infos {
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.datenHead {
    padding-top: 50px !important;
}

section#daten_infos h2 {
    font-size: 34px;
    color: #c50347;
    font-weight: 500;
    margin: 0 0 10px 0;
}

section#daten_infos p, 
section#daten_infos ul li {
    font-size: 21px;
    margin: 0 0 15px 0;
}

section#daten_infos ul li {
    margin-bottom: 10px !important;
}

section#daten_infos h3 {
    font-size: 26px;
    color: #c50347;
    font-weight: 500;
    margin: 0 0 20px 0;
}

section#daten_infos h4 {
    font-size: 26px;
    color: #c50347;
    font-weight: 500;
    margin: 0 0 10px 0;
}

section#daten_infos a {
    color: #000;
}

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

    header nav ul li a {
        font-size: 18px;
    }

    header nav ul {
        gap: 50px;
    }

    .infoText h3 {
        font-size: 32px;
    }

    section#appointment>div p,
    section#list p,
    section#appointment ul li,
    section#list address,
    .infoText p.ihre {
        font-size: 20px;
    }

    .infoText p {
        font-size: 20px;
        margin-bottom: 40px;
    }

    button#openPopupBtn {
        margin-top: 0;
		margin-bottom: 1em;
    }

    .changeCOntainer>div h2 {
        font-size: 35px;
    }

    .changeCOntainer>div p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .changeCOntainer aside h2 {
        font-size: 26px;
    }

    .changeCOntainer aside ul {
        gap: 30px;
    }

    .changeCOntainer aside ul li {
        font-size: 20px;
    }

    .changeCOntainer aside p {
        font-size: 20px;
        margin: 0 0 0 0;
    }

    section#offer {
        padding: 102px 20px 100px 20px;
    }

    .offerLeft h2 {
        font-size: 40px;
    }

    .offerLeft img {
        margin-bottom: 140px;
    }

    .offerLeft p,
    .offerRight p {
        font-size: 18px;
    }

    .offerRight button#openPopupBtn {
        margin-top: 30px;
    }

    section#offer2 blockquote p,
    section#offer blockquote p {
        padding: 70px 30px 69px 30px;
        font-size: 24px;
    }

    .offerLeft2 p {
        font-size: 20px;
    }

    .offerRight2 button#openPopupBtn {
        margin-top: 40px;
    }

    .footerTop {
        padding: 150px 20px;
    }

    .addressCOntainer address {
        font-size: 18px;
    }
}

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

    section#appointment>div {
        width: 460px;
    }
    
    section#appointment {
        gap: 30px;
    }

    .infoText {
        padding: 0;
        flex-grow: 1;
    }

    button#openPopupBtn {
        font-size: 20px;
    }

    section#infos {
        padding-right: 20px;
        padding-left: 20px;
        gap: 20px;
    }

    .infoText h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .infoText p.ihre {
        margin-bottom: 20px;
    }

    .infoText p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .changeCOntainer {
        padding: 0 20px;
    }

    .changeCOntainer>div h2 {
        font-size: 26px;
    }

    body div p,
    .changeCOntainer aside ul li {
        font-size: 18px !important;
    }

    .changeCOntainer aside ul {
        gap: 20px;
    }

    .offerLeft h2,
    .offerRight h4,
    .offerLeft h4 {
        font-size: 32px;
    }

    section#offer {
        column-gap: 10px !important;
    }

    img.Physiotherapie {
        margin-bottom: 60px;
        margin-top: 70px;
    }

    section#offer2 blockquote p,
    section#offer blockquote p {
        padding: 60px 30px 59px 30px;
        font-size: 24px;
    }

}

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

    section#daten_infos a {
        word-wrap: break-word;
    }

    section#daten_infos h2 {
        font-size: 32px;
    }
    section#daten_infos h3 {
        font-size: 24px;
    }
    section#change {
        background-size: auto 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    section#appointment {
        flex-direction: column;
    }
    
    section#appointment> * {
        width: 100% !important;
        max-width: 100%;
    }
    
    section#appointment>div p, section#list p, section#appointment ul li, section#list address {
        font-size: 18px;
    }

    section#infos {
        flex-direction: column;
        gap: 50px;
        padding-bottom: 50px;
    }

    section#infos>div {
        width: 100%;
        max-width: 100%;
    }
    
	.offerRight h4 {
	margin-top: 2em;
	}

    .changeCOntainer {
        flex-direction: column;
    }

    .changeCOntainer>div {
        width: 100%;
    }

    section#offer {
        flex-direction: column;
        gap: 20px;
    }

    section#offer>div {
        width: 100%;
        max-width: 100% !important;
    }

    section#offer2 {
        flex-direction: column;
    }

    section#offer2>div {
        width: 100%;
        gap: 30px !important;
    }

    section#appointment>div h3 {
        font-size: 24px;
    }

    section#appointment>div h3 span {
        font-size: 30px;
    }

    section#daten_infos p, section#daten_infos ul li {
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 575px) {
    section#start, section#leagal {
        padding: 10px 15px 30px 15px;
    }
    
    section#leagal h2 {
        font-size: 22px;
    }
    
    section#leagal address {
        font-size: 16px;
    }
    
    section#start h1 {
        font-size: 26px;
    }
    
    section#start h1 span {
        font-size: 20px;
        line-height: 1.5;
    }
    
    footer nav ul li a {
        font-size: 16px;
    }
    
    header nav ul li a {
        font-size: 13px;
    }

    .offerLeft h2 {
        text-shadow: 2px 0px #fff;
    }

    section#offer2 blockquote p:after, section#offer blockquote p:after {
        background-size: auto 100% ;
    }

    section#offer2 blockquote p {
        margin-top: 40px;
    }

    .addressCOntainer address {
        padding: 40px 30px 40px 30px;
    }

}


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

    .addressCOntainer address {
        padding: 40px 20px 40px 20px;
    }

    section#head h1 {
        font-size: 28px;
    }
    
    section#head h1 span {
        font-size: 22px;
    }

    img.Physiotherapie {
        margin-bottom: 40px;
        margin-top: 40px;
    }

    button#openPopupBtn {
        font-size: 16px;
    }

    section#appointment>div h4, section#list h4 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    header nav ul {
        gap: 20px;
        width: 100%;
        justify-content: space-between;
    }

    header nav {
        padding: 20px 10px;
    }

    .offerLeft img {
        margin-bottom: 30px;
    }

    button#openPopupBtn {
        width: 100%;
        padding: 20px 20px;
    }

    section#offer2 blockquote p,
    section#offer blockquote p {
        padding: 60px 10px 59px 10px;
        font-size: 18px;
    }

    section#offer2 blockquote p br,
    section#offer blockquote p br {
        display: none;
    }

    section#offer {
        padding: 82px 20px 60px 20px;
        overflow: hidden;
    }

    body div p,
    .changeCOntainer aside ul li {
        font-size: 16px !important;
    }

    .footerTop {
        padding: 100px 20px;
    }

    
    section#appointment>div p, section#list p, section#appointment ul li, section#list address {
        font-size: 16px;
    }
}