@font-face {
    font-family: 'roboto';
    src:url('../fonts/roboto_light.ttf') format('truetype');
    
    /*src:url('../fonts/PlaywriteDKLoopet-Light.ttf') format('truetype');*/
}
:root {
    --bg: #faf7f5;
    --bg2: #f0ebe6;
    --white: #ffffff;
    --primary: #c2b8ae;
    --primary-light: #e9e4df;
    --gray: #d8d3d0;
    --text: #3a3837;
    --text-light: #6c6661;
    --error: #dc3545;
    --success: #198754;
    --warning: #ffc107;
    --container: 1200px;
    --radius: 0.5rem;
    --gap: 1rem;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.075);
    --font: "roboto", sans-serif;
    --font-size-desktop: 18px;
    --font-size-mobile: 16px;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*[lang]:not(html) {
    display: none;
}
html:lang(en) *[lang="en"]:not(html), html:lang(de) *[lang="de"]:not(html), html:lang(fr) *[lang="fr"]:not(html), html:lang(it) *[lang="it"]:not(html) {
    display: revert;
}
html {
    margin: 0;
    padding: 0;
    font-size: var(--font-size-desktop);
    overflow-y: scroll;
    background-color: var(--bg);
}
body {
    line-height: 1.5;
    font-family: var(--font);
    font-weight: 400;
    max-width: var(--container);
    margin: auto;
    color: var(--text);
    background-color: transparent;
    padding: var(--gap);
}
.container {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 2rem;
    margin-bottom: 1rem;
    hyphens: auto;
    overflow-wrap: break-word;
}
h1 {
    font-size: 2.3rem;
}
h2 {
    font-size: 1.8rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.1rem;
}
.bold {
    font-weight: 700;
}
a:not(.btn), a:not(.btn):visited {
    color: var(--text);
    text-decoration: none;
}
a:not(.btn):hover {
    text-decoration: none;
    cursor: pointer;
}
small, .small {
    font-size: 0.7rem;
}
hr {
    border-top: 1px solid var(--primary);
    margin: 0.5rem 0;
}
ul {
    padding-left: 1.5rem;
}
ol {
    margin-left: 1rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}
td, th {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--bg2);
    vertical-align: middle;
}
th {
    font-weight: 600;
    background-color: var(--bg);
    white-space: nowrap;
}
tr:last-child td {
    border-bottom: none;
}
tr:hover {
    background-color: var(--bg);
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    h4 {
        font-size: 1.1rem;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead {
        display: none;
    }
    tr {
        margin-bottom: 1rem;
        padding: 0.5rem;
    }
    td::before {
        font-weight: bold;
        content: attr(data-label);
        padding-right: 1rem;
    }
}
@media (min-width: 768px) {
    .hide_on_desktop {
        display: none !important;
    }
}
.btn, button, input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::file-selector-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}
.btn:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="file"]::file-selector-button:hover {
    opacity: 0.75;
    color: var(--white);
    text-decoration: none;
}
.btn[disabled], button[disabled], input[disabled] {
    opacity: 0.75;
    cursor: default;
}
select, textarea, input:not([type="checkbox" i],[type="radio" i],[type="submit" i]) {
    width:100%;
}
.btn.confirm {
    background-color: var(--success);
}
.btn.cancel {
    background-color: var(--error);
}
label {
    position: absolute;
    margin-top: -0.7em;
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    margin-left: 0.5rem;
    z-index: 1;
}
label:not(.checkbox)::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: -2px;
    right: -2px;
    height: 1px;
    background: #fff;
    z-index: -1;
}
input, textarea, select {
    padding: 0.6rem 0.8rem;
    color: var(--text);
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    margin-bottom: var(--gap);
    background-color: var(--white);
    width: 100%;
}
input:focus, textarea:focus, select:focus {
    outline: 0;
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--white) inset !important;
    -webkit-text-fill-color: var(--text) !important;
    transition: background-color 5000s ease-in-out 0s;
}
textarea {
    width: 100%;
    height: auto;
    min-height: 5rem;
    font-family: inherit;
}
.checkbox {
    cursor: pointer;
    position: relative;
    display: inline-block;
    line-height: 1;
    margin: 0;
}
.checkbox input {
    display: none;
}
.checkbox span {
    display: inline-block;
}
.checkbox span::before {
    content: "\f0c8";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 1rem;
    color: var(--text);
}
.checkbox input:checked + span::before {
    content: "\f14a";
}
.checkbox-helper {
    padding: 0.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}
.row > * {
    display: flex;
}
.full {
    flex: 0 0 100%;
    width:100%;
}
.half {
    flex: 0 0 calc(50% - calc(var(--gap) / 2));
}
.third {
    flex: 0 0 calc(calc(100% / 3) - calc(var(--gap) * 2 / 3));
}
.quarter {
    flex: 0 0 calc(25% - calc(var(--gap) * 3 / 4));
}
.min {
    flex: 0 0 auto;
}
.auto {
    flex: 1 1 0;
}
.center {
    justify-content: center;
    text-align: center;
}
.right {
    justify-content: flex-end;
    text-align: right;
}
.middle {
    align-items: center;
}
.bottom {
    align-items: flex-end;
}
@media (max-width: 768px) {
    .row:not(.nostack) > * {
        flex: 0 0 100%;
    }
    .center_on_mobile{
        justify-content: center;
        text-align: center;
        ;
    }
}

.mb0 {
    margin-bottom: 0;
}
.mb1 {
    margin-bottom: 1rem;
}
.mb2 {
    margin-bottom: 2rem;
}
.mb3 {
    margin-bottom: 3rem;
}
.mt0 {
    margin-top: 0;
}
.mt1 {
    margin-top: 1rem;
}
.mt2 {
    margin-top: 2rem;
}
.mt3 {
    margin-top: 3rem;
}
.box {
    padding: 0.5rem;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
}
.box h1:first-child, .box h2:first-child, .box h3:first-child {
    margin-top: 0;
}
.card {
    padding: var(--gap);
    background-color: var(--bg2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: var(--gap);
}
.card h1:first-child, .card h2:first-child, .card h3:first-child {
    margin-top: 0;
}
.round {
    border-radius: var(--radius);
}
.right {
    text-align: right;
}
.left {
    text-align: left;
}
.uppercase {
    text-transform: uppercase;
}
.bold {
    font-weight: 700;
}
.italic {
    font-style: italic;
}
.meta {
    font-size: 0.75rem;
}
.underline {
    text-decoration: underline;
}
.hidden, .hide{
    display: none !important;
}
.error {
    color: var(--error);
}
.success {
    color: var(--success);
}
.transparent {
    opacity: 0 !important;
}
.pc0 > * {
    padding: 0;
}
.pclr0 > * {
    padding-left: 0;
    padding-right: 0;
}
.mtc0 > * {
    margin-top: 0;
}
.pt40 {
    padding-top: 40px;
}
.p3 {
    padding: 3rem;
}

.btn, .booking-btn, button {
    cursor: pointer !important;
    background-color: #706963 !important;
    color: #fff !important;
}
sup {
    font-size: 0.5em;
}


/* Contact section */
.contact-info {
    color: var(--text);
}

.contact-info i {
    color: var(--primary);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-name {
    /* font-weight: 600; */
    margin-bottom: 0.5rem;
}

.contact-text {
    margin-top: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-map iframe {
    box-shadow: var(--shadow);
}

main img {
    border-radius: var(--radius);
}




/* put all custom styles here */
        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        main {
            flex: 1;
        }
        
        section {
            margin-top: 3rem;
            scroll-margin-top: 90px;
            margin-bottom: 1rem;
        }

        /* Hero styles */
        .hero {
            position: relative;
            text-align: center;
            max-width: 850px;
            margin: 0 auto;
            animation: fadeIn 1s ease-in-out;
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
        
        .hero h1 {
            margin-bottom: 2rem;
            font-weight: 300;
            letter-spacing: -0.5px;
            line-height: 1.3;
        }
        
        .hero-content {
            margin-bottom: 2.5rem;
            font-size: 1.1rem;
            line-height: 1.8;
        }
        
        /* margin fÃƒÂ¼r buttons */
        .hero .btn {
            margin-top: 2rem;
            transition: var(--transition);
            transform: translateY(0);
        }
        
        .hero .btn:hover {
            transform: translateY(-3px);
        }
        
        /* Section styles */
        .section-title {
            /* text-align: center; */
            margin-bottom: 4rem;
            /* max-width: 700px; */
            margin-left: auto;
            margin-right: auto;
        }
        
        .section-title h2 {
            font-weight: 400;
            margin-bottom: 1rem;
            letter-spacing: -0.5px;
        }
          @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Scroll reveal animation styles */
        .reveal-element {
           /*opacity: 0;*/
            transform: translateY(20px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        
        .reveal-element.revealed {
            /*opacity: 1;*/
            transform: translateY(0);
        }
          /* Treatment cards - nutze Flexgrid */
        .treatment-card {
            background-color: var(--bg2);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease;
            width: 100%;
            height: 100%;
        }
        
        .treatment-card:hover {
            transform: scale(1.03);
        }
                
        .treatment-card-content {
            padding: 1rem;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .treatment-card-content p {
            flex-grow: 1;
            margin-bottom: 1rem;
        }
          /* About section */
        .profile-image {
            max-width: 100%;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .about-content {
            padding: 0 1rem;
        }
        
        .qualifications {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .qualification {
            padding: 1rem;
            background-color: var(--bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            display: flex;
            align-items: center;
        }
        
        .qualification i {
            color: var(--primary);
            margin-right: 1rem;
            font-size: 1.2rem;
        }
        
        /* Praxis gallery */
        .praxis-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: var(--radius);
            transition: transform 0.3s ease;
            box-shadow: var(--shadow);
        }
        
        .praxis-image:hover {
            transform: scale(1.03);
        }
        
        /* Testimonials */
        .testimonials-container {
            gap: 1rem;
        }
        
        .testimonial-card {
            background-color: var(--bg);
            border-radius: var(--radius);
            padding: 1.5rem;
            height: 100%;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
        }
        
        .testimonial-rating {
            margin-bottom: 1rem;
            color: #aca197; /* Gold color for stars */
        }
        
        .testimonial-text {
            flex-grow: 1;
            font-style: italic;
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
        }
        
        .testimonial-avatar {
            width: 40px;
            height: 40px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: var(--primary);
            font-size: 1.5rem;
        }
        
        .testimonial-info {
            display: flex;
            flex-direction: column;
        }
        
        .testimonial-name {
            font-weight: 600;
            margin: 0;
        }
        
        .testimonial-date {
            font-size: 0.8rem;
            color: var(--text-light);
            margin: 0;
        }  
        
        /* CTA section */
        .cta-section {
            padding: 0;
            text-align: center;
            margin: 3rem 0;
        }
        
        .cta-section .card {
            width: 100%;
            max-width: 100%;
        }
        
        .cta-section h2 {
            margin-bottom: 1.5rem;
        }
        
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .about-container, .contact-container {
                grid-template-columns: 1fr;
            }
            
            .treatments-grid {
                grid-template-columns: 1fr;
            }
            
            .praxis-gallery {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
            .w100_on_mobile {
                width: 100%;
            }

            .logo img {
                height: 60px;
            }
        }