/* Base styles and resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif; /* Roboto for a clean, modern look */
    color: #333333; /* Slightly darker grey for better contrast and readability */
    line-height: 1.6;
    background-color: #FAFAFA; /* Lighter background for a clean look */
    padding: 0 5%;
}

/* Main container for consistent spacing and alignment */
.main-container {
    max-width: 1200px;
    margin: auto;
}

/* Navigation styles */
nav {
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtler shadow for material effect */
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 15px 0; /* Reduced padding for a tighter navbar */
}

nav ul li {
    margin: 0 15px; /* Margin instead of padding for spacing between links */
}

nav ul li a {
    text-decoration: none;
    color: #333333; /* Consistent text color */
    font-weight: 500; /* Medium font weight for readability */
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4CAF50; /* Vibrant green color for hover state */
}

/* Responsive image styles */
.responsive-image {
    max-width: 100%; /* Full width on smaller screens */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Display as block to avoid inline white spaces */
    margin: 20px auto; /* Center align the image with margin */
    border: none; /* Removing border for a cleaner look */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Updated shadow for subtlety */
    border-radius: 5px; /* Less pronounced border-radius */
}

@media screen and (min-width: 1024px) {
    .responsive-image {
        max-width: 40%; /* Adjusted maximum width for larger screens */
    }
}

/* Mobile menu (hamburger menu) styles for smaller screens */
.hamburger {
    display: none; /* Hidden by default */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 25px; /* Adjust as needed */
    width: 30px; /* Adjust as needed */
    z-index: 1000; /* Ensure it's above other elements */
    position: absolute; /* Positioning relative to its nearest positioned ancestor */
    top: 10px; /* Adjust the position from the top */
    right: 10px; /* Adjust the position from the right */
}

.hamburger div {
    background-color: #333; /* Hamburger line color */
    height: 3px; /* Hamburger line thickness */
    width: 100%; /* Hamburger line width */
    transition: all 0.3s ease-in-out; /* Smooth transition for hamburger animation */
}

/* Transform hamburger into 'X' when active */
.hamburger.active div:nth-of-type(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-of-type(2) {
    opacity: 0;
}

.hamburger.active div:nth-of-type(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hide menu items and show hamburger icon in mobile view */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger icon */
    }

    nav ul {
        display: none; /* Hide menu items */
        flex-direction: column; /* Stack items vertically */
        width: 100%; /* Full width */
        position: absolute; /* Positioning relative to its nearest positioned ancestor */
        top: 60px; /* Adjust the position from the top */
        left: 0;
        background-color: #FFFFFF; /* Match the navbar background */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow to match design language */
        border-top: 2px solid #4CAF50; /* A touch of primary color */
    }

    nav ul li {
        text-align: center; /* Center menu items */
        padding: 15px 0; /* Add some padding */
        border-bottom: 1px solid #EEEEEE; /* Separator for each menu item */
    }

    nav ul li a {
        display: block; /* Make each link fill the container */
        transition: background-color 0.3s ease; /* Smooth transition for background color */
    }

    nav ul li a:hover {
        background-color: #F5F5F5; /* Slight change in background on hover */
    }
}

/* Text centering for specific sections */
section#home p {
    text-align: center;
    margin-top: 20px;
}

/* Header styles */
header {
    background: #F7FFF7; /* Very light green background */
    padding: 40px 0; /* More padding for a spacious header */
    text-align: center;
}

header h1 {
    color: #36A166; /* Green color for the main header */
    font-size: 2.5em; /* Larger font size for the main title */
    margin-bottom: 20px; /* Space between the title and nav */
}

/* Section title */
section h2 {
    font-size: 2em;
    color: #36A166; /* Green color for section headers */
    padding: 40px 0; /* More padding for spacious section headers */
    text-align: center; /* Center align all section h2 elements */
    border-bottom: 2px solid #D5E8D4; /* Light green underline for separation */
    margin-bottom: 30px; /* Space after the header */
}

/* Therapy container */
.therapie-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.therapie-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Therapy items */
.therapie-item {
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid transparent;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(54, 161, 102, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.therapie-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #36A166 0%, #4CAF50 50%, #66BB6A 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.therapie-item:hover::before {
    transform: scaleX(1);
}

.therapie-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c5f41;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.therapie-item h3::after {
    content: '▼';
    font-size: 0.8em;
    color: #36A166;
    transition: transform 0.3s ease, color 0.3s ease;
}

.therapie-item.expanded h3::after {
    transform: rotate(180deg);
    color: #2c5f41;
}

.therapie-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #36A166;
    box-shadow: 0 15px 40px rgba(54, 161, 102, 0.15);
}

.therapie-item:hover h3 {
    color: #36A166;
}

/* Therapy detail */
.therapie-detail {
    display: none;
    padding: 20px 0 0 0;
    background: transparent;
    border-radius: 0;
    margin-top: 15px;
    border-top: 2px solid #e8f5e8;
    animation: slideDown 0.3s ease-out;
}

.therapie-detail h3 {
    font-size: 1.3em !important;
    color: #36A166 !important;
    margin-bottom: 15px !important;
    border-bottom: 2px solid #e8f5e8;
    padding-bottom: 8px;
}

.therapie-detail h4 {
    font-size: 1.1em;
    color: #2c5f41;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.therapie-detail p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

.therapie-detail ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.therapie-detail ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

.therapie-detail ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #36A166;
    font-weight: bold;
    font-size: 1.1em;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Therapy item expand arrow */
.expand-arrow {
    position: absolute;
    right: 20px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em; /* Adjust size of the arrow */
    color: #36A166; /* Color of the arrow */
}

/* When the therapy item is expanded, rotate arrow */
.therapie-item.expanded .expand-arrow {
    transform: translateY(-50%) rotate(180deg); /* Flip the arrow */
}

/* Footer styles */
footer {
    background-color: #fff;
    padding: 40px 0; /* Top and bottom padding */
    border-top: 3px solid #D5E8D4; /* Light green border for separation */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: center; /* Center the content of the footer */
    display: flex; /* Use flexbox to center children */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    justify-content: center; /* Center children vertically */
    margin-top: 40px; /* Space from the preceding content */
}

footer h2 {
    color: #36A166; /* Green color for the 'Kontakt' headline */
    margin-bottom: 30px; /* Space after the 'Kontakt' headline */
}

footer .contact-info {
    text-align: left; /* Left align the text within the block */
    max-width: 400px; /* Maximum width of the contact info block */
}

footer .contact-info a {
    color: #36A166;
    text-decoration: none;
    background-color: #D5E8D4; /* Light green background */
    padding: 10px 20px;
    border-radius: 20px; /* Highly rounded corners for button-like appearance */
    display: block; /* Each link is a block element */
    margin-bottom: 10px; /* Space between links */
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

footer .contact-info a:hover {
    background-color: #36A166; /* Darker green background for hover state */
    color: #fff; /* White text color for hover state */
    text-decoration: none; /* No underline */
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    body {
        padding: 0 4%; /* Slightly less padding on smaller screens */
    }

    .therapie-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .therapie-item {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0 3%; /* Even less padding on mobile screens for more space */
    }

    .therapie-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
    
    .therapie-item {
        padding: 20px;
        border-radius: 12px;
    }
    
    .therapie-item h3 {
        font-size: 1.3em;
    }
    
    .therapie-detail {
        padding: 15px 0 0 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        padding: 10px 0; /* Space between nav items when stacked */
    }

    header h1 {
        font-size: 2em; /* Adjust font size on smaller screens */
    }

    footer p {
        font-size: 1em; /* Adjust font size for footer text on smaller screens */
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}




.prices-section {
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto;
    padding: 20px;
  }
  
  .prices-heading {
    text-align: center;
    font-size: 2em;
    color: #333;
    margin-bottom: 1em;
  }
  
  .price-item {
    background-color: #f8f8f8; /* Soft background for each item */
    padding: 15px;
    margin-bottom: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Subtle shadow for depth */
  }
  
  .item-heading {
    font-size: 1.5em;
    color: #27ae60; /* Or any other brand color */
  }
  
  .duration .price {
    font-weight: bold;
    color: #27ae60;
  }
  
  .item-details {
    list-style: inside square; /* Modern list style */
  }
  
  .cancellation-policy {
    font-style: italic;
    background-color: #fff3cd; /* Soft yellow background for important notices */
    padding: 10px;
    border-left: 4px solid #ffecb5;
    border-radius: 4px;
  }
  

  .team-section {
    max-width: 1200px; /* Maximum width of the content */
    margin: 0 auto; /* Centers the section */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-heading {
    text-align: center;
    font-size: 2em;
    color: #333;
    margin-bottom: 1em;
}

.team-member {
    background-color: #f8f8f8;
    padding: 15px;
    margin-bottom: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: center; /* Center align items */
    text-align: center; /* Center align text */
    width: 100%; /* Full width of the container */
}

.member-heading {
    font-size: 1.5em;
    color: #27ae60;
    margin-top: 15px;
}

.team-photo {
    width: 150px; /* Adjust the width as needed */
    height: 150px; /* Adjust the height as needed */
    object-fit: cover;
    border-radius: 50%; /* Circular photos; change to 0 for square */
    margin-bottom: 15px; /* Space between photo and text */
}

.member-details {
    margin-top: 10px;
}

.member-details ul {
    list-style-position: inside;
    padding-left: 0;
    text-align: left;
}

.member-details ul li {
    margin-bottom: 8px;
    padding-left: 0;
}

@media (min-width: 768px) {
    .team-member {
        flex-direction: row; /* Stack horizontally on larger screens */
        align-items: center; /* Align items to the center */
        text-align: left; /* Left align text */
    }

    .team-photo {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .member-details {
        align-items: flex-start; /* Align details to the start */
    }
}

@media (min-width: 1200px) {
    .team-section {
        max-width: 1100px; /* Maximum width of the content on very large screens */
    }

    .team-member {
        justify-content: start; /* Align content to the start for large screens */
    }
}

.anwendung-title {
    text-align: center;
    font-size: 2em;
    color: #333;
    margin-bottom: 1em;
    background-color: transparent; /* No background */
    border: none; /* No border */
}

.anwendungsbereiche {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.anwendungsbereiche ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.anwendungsbereiche li {
    background-color: transparent;
    padding: 10px 15px;
    margin-bottom: 10px;
    font-size: 1em;
    color: #333;
    text-align: left;
}

.important-notice {
    font-style: italic;
    background-color: #fff3cd;
    padding: 10px;
    border-left: 4px solid #ffecb5;
    border-radius: 4px;
    margin-top: 20px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}



.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f4f4f4;
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    display: none; /* Hidden by default */
}

.cookie-banner p {
    margin: 0;
    padding-right: 10px;
    display: inline;
}

.cookie-banner button {
    background-color: #36A166;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}
