html {
            scroll-behavior: smooth;
        }
        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        header {
            background: #fff;
            padding: 0 40px; /* Adjusted padding */
            display: flex;
            justify-content: flex-end; /* Changed to move nav to the right */
            align-items: center;
            height: 80px; /* Give the header a fixed height */
            position: fixed; /* Changed to fixed */
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-sizing: border-box; /* Ensure padding is included in the height */
        }

        nav {
            margin-right: 180px; /* Added to move links to the left */
        }

        nav a {
            margin-left: 20px;
            text-decoration: none;
            color: rgba(4, 67, 149, 1);
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 20px;
            line-height: 27.5px;
            letter-spacing: 0;
        }

        .hero {
            background: linear-gradient(rgba(0, 60, 117, 0.32), rgba(0, 60, 117, 0.32)), url('../images/home.png');
            background-size: cover;
            background-position: center 40%; /* Adjusted position */
            height: 839px;
            position: relative; /* Needed for absolute positioning of children */
            margin-top: 80px; /* Added space for fixed header */
        }

        .hero h1 {
            font-family: 'Fraunces', serif;
            font-weight: 400;
            font-size: 57px;
            line-height: 60px;
            letter-spacing: 0;
            text-transform: uppercase;
            color: white;
            width: 909px;
            height: 60px;
            margin: 0;
            position: absolute;
            top: 409px; /* Moved down by 20px */
            left: 179px;
            text-align: left; /* Changed to left */
        }

        .hero p {
            font-family: 'Avenir Next', sans-serif;
            font-weight: 500;
            font-size: 20px;
            line-height: 30px;
            text-transform: uppercase;
            color: white;
            width: 1004px;
            height: 30px;
            margin: 0;
            position: absolute;
            top: 485px; /* Moved down by 20px */
            left: 179px; /* Changed to 179px */
            text-align: left; /* Changed to left */
        }

        .btn {
            background: #4a7c59;
            color: #fff;
            padding: 12px 30px;
            text-decoration: none;
            border-radius: 4px;
        }

        section {
            padding: 60px 40px;
            max-width: 1100px;
            margin: auto;
        }

        h2 {
            text-align: center;
            margin-bottom: 40px;
        }

        .services {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .service-box {
            background: #f9f9f9;
            padding: 25px;
            border-radius: 6px;
            text-align: center;
        }

        .about {
            background: #f4f4f4;
            text-align: center;
        }

        .contact {
            background: #e8efe9;
        }

        form input, form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border-radius: 4px;
            border: 1px solid #ccc;
        }

        footer {
            background: rgba(232, 251, 255, 1);
            color: #000;
            padding: 20px 40px;
            height: 185px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
        }

        footer a {
            color: #000;
            text-decoration: none;
        }

        .footer-logo {
            width: 160px;
            height: 143px;
            margin-right: 60px;
            margin-left: 100px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(3, auto);
            gap: 100px;
            margin-left: auto;
            margin-right: 100px;
        }

        .footer-grid h4 {
            font-family: 'Avenir Next', sans-serif;
            font-weight: 700;
            font-size: 14px;
            line-height: 21px;
            text-transform: uppercase;
            color: #000;
            margin-bottom: 10px;
        }

        .footer-grid p {
            font-family: 'Avenir Next', sans-serif;
            font-weight: 400;
            font-size: 14px;
            line-height: 21px;
            text-transform: capitalize;
            color: #000;
            margin: 0;
        }

        .logo {
            width: 70px;
            height: 63px;
            position: absolute;
            top: 8px;
            left: 188px;
        }

        .leg-image {
            position: absolute;
            width: 615px;
            height: 813px;
            top: 50px; /* Adjusted from 1012px */
            left: 13px;
            border-radius: 28px;
        }

        .wer-wir-sind-title {
            position: absolute;
            width: 431px;
            height: 90px;
            top: 179px; /* Adjusted from 1141px */
            left: 685px;
            font-family: 'Fraunces', serif;
            font-weight: 400;
            font-size: 60px;
            line-height: 90px;
            letter-spacing: 0;
            text-transform: uppercase;
            color: rgba(168, 26, 114, 1);
        }

        .wer-wir-sind-text {
            position: absolute;
            width: 720px;
            height: 306px;
            top: 323px; /* Adjusted from 1285px */
            left: 685px;
            font-family: 'Avenir Next', sans-serif;
            font-weight: 400;
            font-size: 30px;
            line-height: 51px;
            letter-spacing: 0;
            text-transform: capitalize;
            color: rgba(0, 0, 0, 1);
            text-align: left;
        }

        .about-section-container {
            position: relative;
            height: 4900px; /* Adjusted for new contact section */
            margin-top: 50px;
        }

        .cta-button {
            position: absolute;
            width: 284px;
            height: 77px;
            top: 597px; /* Original top: 1619px, moved down 20px */
            left: 685px;
            border-radius: 9px;
            background: rgba(73, 192, 218, 1);
            text-decoration: none; /* Moved from text to button */
        }

        .cta-button-text {
            position: absolute;
            width: 232px;
            height: 39px;
            top: 19px;  /* 1638px (text) - 1619px (button) */
            left: 26px; /* 711px (text) - 685px (button) */
            color: black;
            font-family: 'Roboto', sans-serif;
            font-weight: 400;
            font-size: 20px;
            line-height: 36px;
            text-transform: uppercase;
            text-decoration: none;
            text-align: center; /* Centering text within its own box */
        }

        .leistungen-title {
            position: absolute;
            width: 381px;
            height: 90px;
            top: 1020px;
            left: 209px;
            font-family: 'Fraunces', serif;
            font-weight: 400;
            font-size: 60px;
            line-height: 90px;
            letter-spacing: 0%;
            text-transform: uppercase;
            color: rgba(168, 26, 114, 1);
        }

        .massage1-image {
            position: absolute;
            width: 440px;
            height: 603.17px;
            top: 1190px;
            left: 198px;
            border-top-left-radius: 28px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0;
        }

        .massage-info-box {
            position: absolute;
            top: 1190px;
            left: 638px; /* 198px (image left) + 440px (image width) */
            right: 0;
            height: 603.17px;
            background: rgba(232, 251, 255, 1);
            padding: 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .massage-text-group {
            position: relative;
            width: 541px;
            height: 340px;
            padding-top: 100px;
            /* Removed margin and transform for flex centering */
        }

        .massage-title {
            width: 499px;
            height: 60px; /* Reverted to 60px for single-line titles */
            font-family: 'Fraunces', serif;
            font-weight: 400;
            font-size: 40px;
            line-height: 60px;
            text-align: left; /* Aligned to the left */
            text-transform: uppercase;
            color: rgba(3, 6, 189, 1);
            margin-bottom: 20px; /* Space between title and description */
        }

        .massage-description {
            width: 521px;
            height: auto; /* Let height be determined by content */
            font-family: 'Avenir Next', sans-serif;
            font-weight: 400;
            font-size: 24px; /* Standardized font size */
            line-height: 1.6; /* Adjusted for better readability */
            text-align: left;
            text-transform: capitalize;
            color: rgba(0, 0, 0, 1);
            padding-right: 20px; /* Ensure text doesn't touch the edge */
        }

        /* --- Layout for Section 2 (Image Right) --- */
        .massage2-image {
            position: absolute;
            width: 440px;
            height: 603.17px;
            top: 1873px;
            right: 198px;
            border-top-right-radius: 28px;
        }
        .massage2-info-box {
            position: absolute;
            top: 1873px;
            left: 0;
            width: calc(100% - 440px - 198px);
            height: 603.17px;
            background: rgba(232, 251, 255, 1);
            padding: 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .massage2-info-box .massage-text-group {
            padding-top: 100px;
        }
        .massage2-info-box .massage-title {
            height: 120px;
        }
        .massage2-info-box .massage-description {
            height: auto;
        }

        /* --- Layout for Section 3 (Image Left) --- */
        .massage3-image {
            position: absolute;
            width: 440px;
            height: 603.17px;
            top: 2556px;
            left: 198px;
            border-top-left-radius: 28px;
        }
        .massage3-info-box {
            position: absolute;
            top: 2556px;
            left: 638px;
            right: 0;
            height: 603.17px;
            background: rgba(232, 251, 255, 1);
            padding: 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .massage3-info-box .massage-text-group {
            padding-top: 190px;
        }
        /* Note: No special title/desc height needed if content is single line */


        /* --- Layout for Section 4 (Image Right) --- */
        .massage4-image {
            position: absolute;
            width: 440px;
            height: 603.17px;
            top: 3239px;
            right: 198px;
            border-top-right-radius: 28px;
        }
        .massage4-info-box {
            position: absolute;
            top: 3239px;
            left: 0;
            width: calc(100% - 440px - 198px);
            height: 603.17px;
            background: rgba(232, 251, 255, 1);
            padding: 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .massage4-info-box .massage-text-group {
            padding-top: 100px;
        }
        .massage4-info-box .massage-title {
            height: 120px;
        }
        .massage4-info-box .massage-description {
            height: auto;
        }

        .contact-section-wrapper {
            display: flex;
            justify-content: center;
            align-items: flex-start; /* Align items to the top */
            gap: 0; /* No gap between items */
            position: relative;
            top: 4147px;
            width: 100%;
            padding: 0 20px; /* Add some padding on the sides */
            box-sizing: border-box;
        }

.kontakt-aufnehmen-title {
    position: absolute;
    top: 3962px;
    left: 50%; /* Center relative to the viewport */
    transform: translateX(-532.5px); /* Move left by half the width of the contact section */
    width: 1065px; /* Explicit width to contain the text */
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 90px;
    text-transform: uppercase;
    color: rgba(168, 26, 114, 1);
    text-align: left; /* Align text to the left of this container */
}        .contact-info-box {
            width: 567px;
            min-height: 671px;
            background: rgba(232, 251, 255, 1);
            opacity: 0.59;
            border-top-left-radius: 28px;
            border-bottom-left-radius: 28px;
            padding-bottom: 20px;
            position: static; /* Remove absolute positioning */
        }

        .contact-image {
            width: 498px;
            height: 671px; /* Match height of the info box */
            border-top-right-radius: 28px;
            border-bottom-right-radius: 28px;
            object-fit: cover;
            position: static; /* Remove absolute positioning */
        }

        .contact-form {
            position: relative;
            top: 50px;
            left: 45px;
            width: calc(100% - 90px);
        }

        .contact-form input,
        .contact-form textarea {
            width: 420px;
            height: 36px;
            margin-bottom: 15px;
            background: transparent;
            border: none;
            border-bottom: 1px solid rgba(0, 0, 0, 1);
            padding: 0;
            font-family: 'Avenir Next', sans-serif;
            font-weight: 500;
            font-size: 16px;
            line-height: 36px;
            color: rgba(0, 0, 0, 1);
            box-sizing: border-box;
        }

        .contact-form textarea {
            height: 100px; /* Larger height for message */
            padding-top: 5px;
            resize: vertical;
            max-height: 200px; /* Limit resizing */
            min-height: 100px; /* Prevent resizing smaller */
        }

        .contact-form ::placeholder {
            color: rgba(0, 0, 0, 1);
            font-family: 'Avenir Next', sans-serif;
            font-weight: 500;
            font-size: 16px;
            text-transform: capitalize;
            pointer-events: none; /* Prevents interaction with placeholder */
        }

        .contact-form button {
            width: 423px;
            height: 43px;
            border-radius: 9px;
            background: rgba(218, 250, 255, 1);
            border: none;
            margin-top: 20px; /* Space above the button */
            cursor: pointer;
            /* Text styles */
            font-family: 'Avenir Next', sans-serif;
            font-weight: 600;
            font-size: 16px;
            line-height: 36px;
            text-transform: capitalize;
            color: rgba(0, 0, 0, 1);
            text-align: center;
        }

        .direct-contact-heading {
            width: 378px;
            height: 60px;
            font-family: 'Fraunces', serif;
            font-weight: 400;
            font-size: 24px;
            line-height: 60px;
            text-transform: uppercase;
            color: rgba(0, 0, 0, 1);
            margin-top: 100px;
            padding-left: 45px; /* Align with form */
        }

        .contact-group {
            display: flex;
            align-items: center;
            width: 226px;
            height: 53px;
            background: rgba(218, 250, 255, 1);
            margin-top: 10px;
            margin-left: 45px; /* Align with form */
            padding: 0 15px;
            box-sizing: border-box;
        }

        .contact-group svg {
            width: 29px;
            height: 26px;
            fill: rgba(93, 93, 93, 1);
        }

        .contact-group span {
            font-family: 'Avenir Next', sans-serif;
            font-weight: 400;
            font-size: 20px;
            line-height: 36px;
            text-transform: capitalize;
            color: rgba(0, 0, 0, 1);
            margin-left: 32px;
        }

        .cta-button:hover, .contact-form button:hover {
            background-color: #e0e0e0 !important; /* Use !important to ensure override */
            color: #333 !important;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* --- Hover Effects --- */

        /* Header navigation links */
        nav a:hover {
            color: #0056b3; /* Darker blue on hover */
            text-decoration: underline;
            transition: color 0.3s ease;
        }

        /* WhatsApp and Telefon buttons */
        .contact-group:hover {
            background-color: #e0e0e0; /* Match 'Nachricht senden' button hover */
            border-radius: 8px;
            transition: background-color 0.3s ease;
        }
        .contact-group:hover span, .contact-group:hover svg {
            color: #333; /* Match 'Nachricht senden' button hover */
            fill: #333; /* For SVG icon */
            transition: color 0.3s ease, fill 0.3s ease;
        }

        /* Form input fields */
        .contact-form input:hover,
        .contact-form textarea:hover {
            border-bottom-color: #0056b3; /* Change bottom border color on hover */
            transition: border-bottom-color 0.3s ease;
        }

        /* Footer links */
        footer a:hover {
            text-decoration: underline;
        }

        /* Impressum styles */
        .impressum-container {
            padding-top: 120px; /* Space for fixed header */
            padding-bottom: 60px;
            max-width: 1100px;
            margin: auto;
        }

.impressum-title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 90px;
    text-transform: uppercase;
    color: rgba(168, 26, 114, 1);
    text-align: left;
    margin-bottom: 40px;
}        .impressum-content {
            font-family: 'Avenir Next', sans-serif;
            font-weight: 400;
            font-size: 24px;
            line-height: 1.6;
            color: rgba(0, 0, 0, 1);
        }

        .impressum-content p {
            margin-bottom: 20px;
        }

        /* Datenschutz styles */
        .legal-container {
            padding-top: 120px; /* Space for fixed header */
            padding-bottom: 60px;
            max-width: 1100px;
            margin: auto;
        }

        .legal-title {
            font-family: 'Fraunces', serif;
            font-weight: 400;
            font-size: 60px;
            line-height: 90px;
            text-transform: uppercase;
            color: rgba(168, 26, 114, 1);
            text-align: left;
            margin-bottom: 40px;
        }

        .legal-content {
            font-family: 'Avenir Next', sans-serif;
            font-weight: 400;
            font-size: 24px;
            line-height: 1.6;
            color: rgba(0, 0, 0, 1);
        }

        .legal-content p {
            margin-bottom: 20px;
        }

        .legal-subtitle {
            font-family: 'Avenir Next', sans-serif;
            font-weight: 400;
            font-size: 24px;
            line-height: 1.6;
            color: rgba(0, 0, 0, 1);
            text-align: left;
            margin-bottom: 40px;
        }