body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: #f0f9f4;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-size: 24px;
    font-weight: 600;
    color: #3c6e47;
}

.header nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
}

.header nav a:hover {
    color: #3c6e47;
}

.header .appointment-btn {
    background-color: #3c6e47;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
}

.main-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #e9f7ef;
}

.main-section .content {
    max-width: 600px;
}

.main-section h1 {
    font-size: 48px;
    color: #333;
}

.main-section p {
    margin-top: 15px;
    color: #777;
    font-size: 16px;
}

.main-section .service-btn {
    margin-top: 20px;
    background-color: #3c6e47;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
}

.main-section .image {
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    max-width: 350px;
    margin-left: 60px;
}

.main-section .image img {
    width: 100%;
    height: auto;
}

.offers-section {
    background-color: #f0f9f4;
    padding: 50px;
}

.offers-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.offers-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    overflow: visible;
    scroll-behavior: smooth;
}

.offer {
    flex: 1 1 300px;
    /* Base size with ability to grow and shrink */
    min-width: 250px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.offer a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

.offer:hover {
    cursor: pointer;
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Hide navigation buttons by default - they're only needed on small screens */
.nav-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .offers-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
    }

    .offer {
        flex: 0 0 85%;
        /* Make cards take most of the width */
        scroll-snap-align: center;
    }

    .nav-btn {
        display: flex;
    }
}

/* Extra small screens - stacked cards */
@media (max-width: 480px) {
    .offers-container {
        flex-direction: column;
        overflow-x: visible;
    }

    .offer {
        flex: 0 0 100%;
        width: 100%;
    }

    .nav-btn {
        display: none;
        /* No need for navigation buttons in stacked view */
    }
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #e9f7ef;
}

.about-content {
    max-width: 600px;
}

.about-content h1 {
    font-size: 48px;
    color: #333;
}

.about-content p {
    margin-top: 15px;
    color: #777;
    font-size: 16px;
}

.about-content ul {
    font-family: 'Open Sans', sans-serif;
    /* Match your site's font */
    font-weight: 400;
    /* Use normal weight to match surrounding text */
    font-size: inherit;
    /* Use the same size as surrounding text */
}

.about-content ul li {
    margin-bottom: 8px;
    /* Add some spacing between list items */
}

.about-content .service-btn {
    margin-top: 20px;
    background-color: #3c6e47;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
}

.about-image {
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    max-width: 300px;
    margin-left: 50px;
}

.about-image img {
    width: 100%;
    height: auto;
}

footer {
    background-color: #f0f9f4;
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.termine-section {
    padding: 50px;
    background-color: #f5f5f5;
}

.termine-section h1 {
    color: #3c6e47;
    text-align: center;
    margin-bottom: 40px;
}

.kontakt-info {
    background-color: #f0f9f4;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.kontakt-info h2 {
    color: #3c6e47;
    margin-bottom: 20px;
}

.kontakt-optionen {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.kontakt-option {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.kontakt-option h3 {
    color: #3c6e47;
    margin-bottom: 10px;
}

.kurs-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.kurs {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.kurs h3 {
    color: #3c6e47;
    margin-bottom: 15px;
}

.kurs ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
}

.kurs ul li {
    margin: 10px 0;
    color: #666;
}

.termin-btn {
    background-color: #3c6e47;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.termin-btn:hover {
    background-color: #2a4d32;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3c6e47;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 1;
}

.nav-btn:hover {
    background-color: #2a4d32;
}

.prev-btn {
    left: -80px;
}

.next-btn {
    right: -80px;
}

/* Dienstleistungen Seite Styling */
.services-section {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-section h1 {
    color: #3c6e47;
    text-align: center;
    margin-bottom: 20px;
}

.services-intro {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.service-card {
    background-color: #f0f9f4;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-card h2 {
    color: #3c6e47;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d0e8d5;
}

.service-content {
    color: #444;
    line-height: 1.7;
}

.service-content h3 {
    color: #3c6e47;
    margin: 25px 0 15px;
}

.service-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-content ul li {
    margin-bottom: 10px;
    position: relative;
}

.service-btn {
    background-color: #3c6e47;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.service-btn:hover {
    background-color: #2a4d32;
}

/* Kontaktseite Styling */
.kontakt-section {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.kontakt-section h1 {
    color: #3c6e47;
    text-align: center;
    margin-bottom: 20px;
}

.kontakt-intro {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.kontakt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.kontakt-info-bereich {
    flex: 1;
    min-width: 300px;
    background-color: #f0f9f4;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.kontakt-info-bereich h2,
.kontakt-formular-bereich h2,
.map-container h2 {
    color: #3c6e47;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d0e8d5;
}

.kontakt-details {
    margin-bottom: 30px;
}

.kontakt-detail {
    margin-bottom: 20px;
}

.kontakt-detail h3 {
    color: #3c6e47;
    margin-bottom: 8px;
}

.kontakt-detail p {
    margin: 5px 0;
    color: #555;
}

.oeffnungszeiten table {
    width: 100%;
    border-collapse: collapse;
}

.oeffnungszeiten td {
    padding: 8px 0;
    color: #555;
}

.oeffnungszeiten td:first-child {
    font-weight: 600;
}

.kontakt-formular-bereich {
    flex: 1;
    min-width: 300px;
    background-color: #f0f9f4;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.kontakt-formular .form-gruppe {
    margin-bottom: 20px;
}

.kontakt-formular label {
    display: block;
    margin-bottom: 5px;
    color: #444;
}

.kontakt-formular input[type="checkbox"] {
    margin-right: 10px;
}

.kontakt-formular input[type="checkbox"]+label {
    display: inline;
    font-size: 0.9em;
}

.kontakt-formular input[type="text"],
.kontakt-formular input[type="email"],
.kontakt-formular input[type="tel"],
.kontakt-formular textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}

.kontakt-formular textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #3c6e47;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2a4d32;
}

.map-container {
    background-color: #f0f9f4;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kontakt-container {
        flex-direction: column;
    }

    .kontakt-section {
        padding: 30px 20px;
    }
}

.quote {
    color: #3c6e47;
    font-style: italic;
    font-size: 1.2em;
    margin: 30px 0;
    padding: 15px 0;
    line-height: 1.4;
    font-weight: 500;
    border-left: 4px solid #3c6e47;
    padding-left: 20px;
}

.quote .attribution {
    font-style: normal;
    font-weight: normal;
}

/* Legal pages styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.content-section h1 {
    color: #3c6e47;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
}

.legal-content h2 {
    margin-top: 30px;
    color: #5a8f7b;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.footer-links {
    margin-top: 10px;
    font-size: 0.9em;
}

.footer-links a {
    color: #3c6e47;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}