:root {
    --primary-color: #007BFF;
    --secondary-color: #5cb85c;
    --text-color: #333;
    --light-gray: #f9f9f9;
    --white: #ffffff;
    --very-pale-blue: #faffff;
    --font-heading: 'Baskerville', 'Libre Baskerville', serif;
    --font-body: 'Tahoma', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h2 {
    font-family: "Baskerville", serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.2em;
    color: #565656;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.text-link {
    color: #565656 !important;
    text-decoration: underline;
}

.text-link:hover {
    color: #8e727c !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container_header {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    max-width: 1100px;
    margin: 0px auto;
    padding: 30px 20px;
}

.container_footer {
    max-width: 1100px;
    margin: 0px auto;
    padding: 0px 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary {
    background-color: #977f88;
    color: var(--white);
}

.btn-primary:hover {
    background-color: #8e727c;
    transform: translateY(-2px);
}

.site-header {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.site-header .container_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 95px;
    height: auto;
}

.logo-center-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.nav-left ul,
.main-nav ul {
    list-style: none;
    display: flex;
}

.nav-left li,
.main-nav li {
    margin: 0 1rem;
}

.nav-left a,
.main-nav a {
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
    font-family: "Tahoma", sans-serif;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    color: #565656;
}

.nav-left a:hover,
.main-nav a:hover,
.nav-left a.active,
.main-nav a.active {
    color: #8e727c;
}

.nav-left a::after,
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #8e727c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-left a:hover::after,
.main-nav a:hover::after,
.nav-left a.active::after,
.main-nav a.active::after {
    background-color: #8e727c;
    transform: scaleX(1);
}

section {
    padding: 6rem 0;
}

.hero-section {
    background: url('hero.JPG') no-repeat center center/cover;
    background-color: #0606068f;
    background-blend-mode: multiply;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: "Baskerville", serif;
    font-weight: 300;
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-family: "Baskerville", serif;
    font-weight: 300;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

#about {
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.about-grid-reverse {
    grid-template-columns: 1.5fr 1fr !important;
}

.about-image-column {
    background: url('Ramona.jpg') no-repeat center center/cover;
    border-radius: 8px;
    min-height: 400px;
}

.about-text-column p {
    text-align: justify;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Tahoma', sans-serif;
    color: #565656;
}

#impressum .impressum-content,
#datenschutz .impressum-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
    padding: 0;
}

#impressum p,
#impressum li,
#datenschutz p,
#datenschutz li {
    font-size: 16px;
    font-family: 'Tahoma', sans-serif;
    color: #565656;
    line-height: 1.5;
}

#impressum h4,
#datenschutz h4 {
    font-family: "Baskerville", serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #454545;
}

.liste_1 {
    padding-left: 20px;
    margin-left: 20px
}

.liste_2 {
    padding-left: 20px;
    margin-left: 20px
}


.services-section {
    padding-top: 5.7rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #ccc;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    font-family: "Baskerville", serif;
    color: #565656;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    font-family: 'Tahoma', sans-serif;
    color: #565656;
    font-size: 16px;
}

.services-section .container>p {
    font-family: 'Tahoma', sans-serif;
    color: #565656;
    font-size: 16px;
}

#booking {
    background: var(--light-gray);
    padding: 80px 0;
}

#booking p {
    font-size: 11.0pt;
    line-height: 107%;
    font-family: 'Tahoma', sans-serif;
    color: #565656;
}

.booking-form {
    max-width: 700px;
    margin: 2rem auto 0;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.booking-form button {
    width: 100%;
}


#osteopathie, 
#physiotherapie, 
#kinesio {
    scroll-margin-top: 110px; 
}

.content-section_2 {
  display: flex;
  gap: 170px;              /* Abstand zwischen den Blöcken */
  max-width: 900px;      /* optional */
  margin: 0 auto;         /* zentriert die Sektion */
  padding-top: 0px;
  margin-bottom: -60px;
}


.text-block {
  flex: 1;                /* beide Blöcke gleich breit */
}

.text-block h4 {
  font-size: 1.3rem;
  font-family: "Baskerville", serif;
  text-align: center;
  color: #565656;
  margin-bottom: 15px;
}

.text-block ul {
  padding-left: 20px;
}

.text-block li {
  margin-bottom: 3px;
}

/* Responsive: untereinander auf kleinen Bildschirmen */
@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
  }


}


#contact {
    padding: 10mm 0;
    padding-top: 3rem;
}

#contact .contact-grid-layout {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 10mm;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-logo {
    width: 85px;
    flex-shrink: 0;
    margin-top: 7.4rem;
}

#impressum ~ #contact .contact-logo, 
#datenschutz ~ #contact .contact-logo {
    width: auto;
    height: 7.5rem; /* Diese Höhe entspricht etwa den drei Zeilen Text daneben */
    margin-top: 4.5rem;
}

.contact-info {
    text-align: left;
    margin-top: 5.2rem;
}

#contact .contact-info p {
    font-size: 11.0pt;
    line-height: 107%;
    font-family: 'Tahoma', sans-serif;
    color: #565656;
}

.contact-map-container {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 100%;
}

.contact-map-container h3 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* DSGVO Google Maps Platzhalter */
.map-placeholder {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #565656;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    padding: 20px;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.map-overlay p {
    color: #ffffff !important;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

.google-map-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Zustand wenn Karte aktiviert wurde */
.map-placeholder.active .map-overlay {
    display: none;
}

.map-placeholder.active .google-map-embed {
    opacity: 1;
    pointer-events: auto;
}

.new-contact-logo-group-container {
    display: flex;
    gap: 75px;
    margin-top: 80px;
    justify-content: flex-start;
}

.new-contact-logo {
    height: 2cm;
    /* Basis-Höhe für alle */
    width: auto;
}

/* INDIVIDUELLE HÖHEN FÜR PARTNER-LOGOS */
.logo-bvo {
    height: 2.6cm;
}

.logo-bvo-frauen {
    height: 2.6cm;
}

.logo-partner {
    height: 2.6cm;
}

.site-footer {
    background: var(--light-gray);
    color: var(--text-color);
    font-size: 0.9rem;
    padding: 5px 0;
    margin-top: 2rem;
}

.site-footer .container_footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    gap: 5px;
}

.site-footer p {
    margin: 0;
    font-size: 11.0pt;
    line-height: 107%;
    font-family: 'Tahoma', sans-serif;
    color: #565656;
}

.site-footer a {
    color: #565656;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #8e727c;
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    visibility: hidden;
}

.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #8e727c;
    cursor: pointer;
    position: relative;
    z-index: 1100;
}

@media (max-width: 768px) {
    h2 {
        font-size: 32px;
    }

    section {
        padding: 4rem 0;
    }

    #impressum .impressum-content,
    #datenschutz .impressum-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .logo-center-link {
        position: static;
        transform: none;
        order: 1;
    }

    .new-contact-logo-group-container {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .nav-left {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        right: 0;
        background: var(--white);
        width: 80%;
        max-width: 280px;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
        height: auto;
        max-height: 100vh;
        transform: translateX(110%);
        transition: transform 0.3s ease;
        order: 3;
        z-index: 1050;
        padding-top: 0px;
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
    }

    .main-nav li {
        margin: 1rem 0;
    }

    .hero-section {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .about-image-column {
        min-height: 300px;
        margin-bottom: 20px;
        order: -1;
    }

    .about-text-column p {
        text-align: left;
    }

    #contact {
        padding: 4rem 0;
    }

    #contact .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-logo {
        margin: 0 auto 10px auto;
    }

    .contact-info,
    .contact-map-container h3 {
        text-align: center;
    }

    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }



.content-section_2 {
        flex-direction: column; /* Stapelt die Blöcke untereinander */
        gap: 30px;              /* Verringert den riesigen Abstand von 170px auf 30px */
        margin-bottom: 20px;    /* Verhindert das Überlappen nach unten */
        padding: 0 20px;        /* Gibt den Texten seitlich etwas Luft zum Rand */
        text-align: left;       /* Sorgt für bessere Lesbarkeit auf dem Handy */
    }

    .text-block h4 {
        text-align: left;       /* Überschriften linksbündig für besseren Lesefluss */
        margin-top: 10px;
    }

    /* Korrektur der Abstände in den Detail-Sektionen */
    .service-detail {
        margin-bottom: 2rem !important;
    }
}


}