/* Parallax + Text-Overlay Version deines CSS */

/* =============================================
   GOOGLE FONT – dünne elegante Schrift
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* =============================================
   RESET + BASE
============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: #fafafa;
    color: #222;
    line-height: 1.6;
    font-size: 20px;
    font-weight: 300;
}

h2 {
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* =============================================
   TOPBAR
============================================= */
.topbar {
    width: 100%;
    height: 90px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-logo {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.topbar-text h2 {
    color: #1f4e79;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    font-size: 22px;
}

#menu-button {
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 26px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    z-index: 4000;
}

#menu-button:hover {
    background: rgb(4, 4, 4);
}

/* =============================================
   SIDE MENU
============================================= */
#menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    background: #1f4e79;
    backdrop-filter: blur(6px);
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    z-index: 3500;
}

#menu.hidden {
    right: -300px;
}

#menu a {
    color: white;
    text-decoration: none;
    padding: 18px 22px;
    font-size: 19px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

#menu a:hover {
    background: rgba(255,255,255,0.12);
}

/* =============================================
   PARALLAX + TEXT OVERLAY
============================================= */
.parallax-section {
    position: relative;
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-left: 120px; /* Text nach rechts versetzt */
    padding-right: 20px;
}
.parallax-section.hero {
    margin-top: 90px; /* Platz für Topbar */
}


.overlay-text {
    color: white;
    background: rgba(0, 0, 0, 0.35);
    padding: 25px 35px;
    border-radius: 8px;
    max-width: 520px;
    backdrop-filter: blur(4px);
}

.overlay-text h2 {
    margin-bottom: 10px;
    font-size: 32px;
    color: #fff;
}

.overlay-text p {
    font-size: 20px;
    line-height: 1.5;
}

/* =============================================
   STANDARD IMG SECTION (falls nicht Parallax)
============================================= */
.img-section {
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
}

#hero-image {
    margin-top: 90px;
    height: 70vh;
    background-size: cover;
    background-position: top;
}


/* =============================================
   WELCOME SECTION
============================================= */
.welcome-section {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 90px;
    padding-bottom: 90px;
    padding-right: 50px;
}
.welcome-img-wrapper {
    margin-left: 50px;
}

.big-round {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e8e8e8;
}

/* =============================================
   BLUE SECTIONS
============================================= */
.blue-section {
    background: #f1f4f1;
    padding-top: 70px;
    padding-bottom: 70px;
}

.blue-section h2 {
    color: #1f4e79;
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
}

.blue-section h3 {
    color: #1f4e79;
    font-size: 22px;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: 200;
}

.blue-section p {
    margin-bottom: 12px;
    font-size: 18px;
}

/* Pfeile vor allen H3 im Therapieangebot */
#offers h3::before {
    content: "→";
    margin-right: 10px;
    color: #1f4e79;
    font-weight: 400;
    position: relative;
    top: -1px;
    margin-left: 50px;
}

#offers p {
    margin-left: 50px;
    margin-right: 50px;
}

/* =============================================
   KONTAKT – perfekte 2-Spalten Struktur
============================================= */

/* SECTION (volle Breite) */
#contact {
    width: 100%;
    background: #f1f4f1;
    padding: 70px 0;
}

/* INNERER BEREICH (zentriert + max Breite) */
#contact .contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* gleiche Oberkante */
    gap: 80px;
}

/* Linke Spalte */
#contact .contact-left {
    flex: 1;
    text-align: left;
}

#contact .contact-left h2 {
    margin-bottom: 25px;
    text-align: left;
}

/* Rechte Spalte */
#contact .contact-right {
    flex: 1;
    text-align: left;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* =============================================
   FOOTER
============================================= */
.footer {
    width: 100%;
    background: #ffffff;
    padding: 30px;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    font-size: 18px;
    color: #1f4e79;
}

.footer a:hover {
    text-decoration: underline;
}

/* =============================================
   MOBILE
============================================= */
@media (max-width: 900px) {
    .welcome-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .welcome-img-wrapper {
        margin-left: 0;
        margin-top: 30px;
    }
    .welcome-text {
        margin-left: 50px;
    }

    .big-round {
        width: 260px;
        height: 260px;
    }

    .img-section,
    .parallax-section {
        height: 50vh;
        background-attachment: scroll;
    }

    .overlay-text {
        padding: 18px 22px;
        font-size: 18px;
    }

    #contact .contact-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }



    #contact .contact-left,
    #contact .contact-right {
        margin-top: 1px;
    }
}

#treatments p {
    text-align: center;
    margin-left: 50px;   /* falls vorher was verschoben war */
    margin-right: 50px;
}


.btn-blue,
.btn-blue-outline {
    text-decoration: none !important;
    min-width: 160px;
    text-align: center;
    display: inline-block;
    padding: 8px 16px;        /* viel schmaler */
    font-size: 15px;          /* passt zum kleineren Button */
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.2px;
    width: auto;              /* <--- verhindert Breite */
    max-width: fit-content;   /* <--- verhindert, dass sie lang werden */
}


.btn-blue:hover {
    background: #163956;
    transform: translateY(-1px);
}

.btn-blue-outline:hover {
    background: #d0e2f7;
    transform: translateY(-1px);
}


.btn-blue {
    background: #1f4e79;
    color: #ffffff;
    border: 2px solid #1f4e79;
}

.btn-blue:hover {
    background: #163956;
    transform: translateY(-1px);
}

.btn-blue-outline {
    background: transparent;
    color: #1f4e79;
    border: 2px solid #1f4e79;
}

.btn-blue-outline:hover {
    background: #d0e2f7;
    transform: translateY(-1px);
}


.btn-blue:hover,
.btn-blue:focus,
.btn-blue-outline:hover,
.btn-blue-outline:focus {
    text-decoration: none !important;
}



/* iPad / iPhone FIX: Parallax deaktivieren */
@supports (-webkit-touch-callout: none) {
    .parallax-section {
        background-attachment: scroll !important;
        background-position: top center !important;
        background-size: cover !important;
        height: 60vh !important; /* etwas größer, damit nicht brutal gecroppt wird */
    }
}



