html {
    scroll-behavior: smooth;
    font-display: swap;
}
/*==================================================*/ 
:root {
    --primary-color: #6D485D;
    --primary-font: 'Baga', Arial, sans-serif;
    --second-font: 'Agenda', Helvetica, Arial, sans-serif;
    --heading-size: clamp(30px, 8vw, 112px);
    --text-size: clamp(20px, 2vw, 25px);
}
.text-white {
    color: #F9F6F1 !important;
}
.p-font {
    font-family: var(--primary-font);
    font-size: var(--heading-size);
    font-weight: 600;
    color: var(--primary-color);
}
.s-font {
    font-family: var(--second-font);
    font-size: var(--text-size);
    font-weight: 600;
    color: var(--primary-color);
}
.s-font-400 {
    font-family: var(--second-font);
    font-size: var(--text-size);
    font-weight: 400;
    color: var(--primary-color);
}
.s-font-500 {
    font-family: var(--second-font);
    font-size: var(--text-size);
    font-weight: 500;
    color: var(--primary-color);
}
.button{
    margin-top: 20px;
    border: 4px solid #B8ADA7;
    color: var(--primary-color);
    font-weight: bold;
    background-color: #F9F6F1;
    width: 100%;           
    max-width: 279px;      
    height: auto;          
    min-height: 58px;      
    padding: 10px 20px;    
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
        &:hover{
        background: var(--primary-color);
        color: #F9F6F1;
        }
}

h1, h2, h3, h4, h5, h6,
.p-font,
.hero-bold,
.therapy-title,
.therapy-subtitle,
.about-title,
.team-name {
    word-break: break-word;
    overflow-wrap: break-word;
   /* hyphens: auto; */
}
.about-list li,
.about-list li * {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
/*==================================================*/ 

body {
    margin: 0;
    font-family: var(--second-font);
}
.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* ======================== Hero ======================== */
.hero {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: url('../images/hero.jpg') no-repeat center center/cover;
}
.hero a {
        background-color: #F9F6F1;
    }
.hero .container {
    position: relative;
    z-index: 2;
}

/* TEXT */
.physiosvg {
    width: 120%;
    height: auto;
    transform: translateY(-40px);
}

/* MOBILE */
    @media (max-width: 991px) {

        .hero {
            flex-direction: column;
            background: none; 
            height: auto;
        }

        .hero-img {
    position: relative;
    height: auto;   
    overflow: hidden;   
}

.hero-img img {
    width: 100%;
    height: auto;      
    object-fit: contain; 
}

        .hero-img .hero-heading {
            position: absolute;
            top: 20px;         
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            z-index: 2;
            text-align: center;
        }
        .hero .container {
            width: 100%;
            max-width: 100%;
            background: #F9F6F1;
            padding: 25px 20px;
        }

        .physiosvg {
            width: 83% !important;
            transform: none;
            margin-bottom: 15px;
        }

        .hero-bold {
            font-size: 24px;
            padding: 15px 0;
        }

        .hero-text {
            padding-bottom: 25px;
        }
        .hero-btn {
        display: block;
        margin: 20px auto 0;
    }
}
/* ======================== Therapy Section ======================== */
.therapy-section {
    background: 
        url('../images/backgrounds/ablauf_bg.png') no-repeat bottom center,
        var(--primary-color);
    background-size: cover;
    color: #F9F6F1;
    padding: 80px 0;
}
.therapy-images {
    margin: 0 auto;
    width: 100%;
}
.therapy-subtitle {
    font-family: var(--primary-font);
    font-size: 58px;
    transform: translateY(-15px);
    color: #F9F6F1;
}
.therapy-title{
    color: #F9F6F1;
}
.therapy-text {
    width: 100%;
    font-family: var(--second-font);
    font-size: var(--text-size);
    margin-bottom: 50px;
    line-height: 1.6;
    color: #F9F6F1;
}
.therapy-img {
    width: 100%;
    max-width: 432px;
    height: 432px;
    object-fit: cover;
    display: block;
}
@media (max-width: 991px) {

    .therapy-section {
        padding: 60px 0;
        text-align: left;
    }

    .therapy-subtitle {
        font-size: 24px;
        transform: none;
    }

    .therapy-img {
        max-width: 380px;
        height: 380px;
        margin: 0 auto;
    }
}

/* ======================================= */
/* ABOUT SECTION */
/* ======================================= */
.about-section {
    background: #F9F6F1;
    padding-top: 80px;
}
.about-link {
    font-size: 60px;
    text-decoration: none;
    display: inline-block;
    position: relative; 
}
.about-left-col,
.about-right-col {
    max-width: 575px;
}
.about-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.about-link:hover::after {
    transform: scaleX(1);
}
/* ====== PART 2 BACKGROUND ====== */
.about-part-2 {
    position: relative;
    padding: 100px 0 80px;
    background: #F9F6F1;
}
.about-part-2 .row {
    margin-bottom: 10rem;
}
.about-part-2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/backgrounds/about-bg1.png') no-repeat center bottom;
    background-size: cover;
    z-index: 1;
}
/* CONTENT IZNAD */
.about-part-2 .container {
    position: relative;
    z-index: 2;
}
/* ====== PART 3 ====== */
.about-part-3 {
    background-color: #B8ADA7;
    width: 100%;
    padding: 80px 0;
    padding-top: 0px;
    background: url('../images/backgrounds/about-bg2.png') no-repeat bottom center;
    background-size: cover;
}

.therapy-img-big {
    width: 100%;
    height: auto;
}
@media (max-width: 991px) {

    .about-section {
        padding-top: 20px;
    }
    .about-part-3 {
        padding: 0;
    }
    .about-link {
        font-size: 25px;
        font-weight: bold;
    }
    .about-img-wrapper {
        width: 100vw;                       
        margin-left: calc(50% - 50vw);      
        margin-right: calc(50% - 50vw);     
        height: 403px;
        overflow: hidden;
    }
    .about-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    .about-part-2 .row {
    margin-bottom: 0;
}
}
/*====================Praxis Section=====================*/
.praxis-section {
    background: #6b4a5a;
    padding: 80px 0;
}
.praxis-slider {
    overflow-x: auto;
    padding-bottom: 20px;
   
}
.praxis-track {
    display: flex;
    gap: 20px;
    width: max-content;
}
.praxis-img {
    height: 740px;
    width: auto;
    object-fit: cover;
    border-radius: 6px;
    user-select: none;
    -webkit-user-drag: none;
}
.praxis-slider::-webkit-scrollbar {
    height: 6px;
}
.praxis-slider::-webkit-scrollbar-track {
    background: #cfc6c1;
    border-radius: 10px;
}
.praxis-slider::-webkit-scrollbar-thumb {
    background: #F9F6F1;
    border-radius: 10px;
}
.praxis-slider {
    cursor: grab;
    overflow-x: auto;
}
.praxis-slider.dragging {
    cursor: grabbing;
}
.praxis-slider.dragging img {
    pointer-events: none;
}
@media (max-width: 991px) {
    .praxis-section {
        padding: 30px 0;
    }
    .praxis-img {
        height: 250px;
    }
}

/*======================== Team Section =========================*/
.team-section {
    position: relative;
}
.team-top {
    height: 40px;
    background: #F9F6F1;
}
.team-content {
    background: #6b4a5a;
    background-image: url('../images/backgrounds/team_bg.jpg'); /* optional */
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    padding: 80px 0;
    position: relative;
}

.team-card {
    color: #F9F6F1;
}
.team-img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    margin-bottom: 15px;
}
.team-name {
    font-size: clamp(28px, 5vw, 69px);
    overflow-wrap: break-word;
}
.team-accordion p {
    color: #F9F6F1;
}
.team-link {
    color: #F9F6F1;
    text-decoration: none;
}
.team-link:hover {
    text-decoration: underline;
}
.team-link {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}
.arrow-svg {
    margin-left: 15px;
    width: 44px; 
    height: auto;
    transition: transform 0.3s ease;
}

/* hover animacija */
.team-link:hover .arrow-svg {
    transform: translateX(6px);
}


/* accordion */
.team-accordion {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}

.team-accordion p {
    margin-top: 10px;
    line-height: 1.4;
}
@media (max-width: 991px) {
    .team-content {
        padding: 30px 0;
    }
    .team-top {
        height: 20px;
    }
}
/*======================== Ablauf Section =========================*/
.ablauf-section {
    min-height: 605px;
    display: flex;
    align-items: center;
    background-image: url('../images/backgrounds/ablauf_bg.png');
    background-repeat: no-repeat;
    background-position: 50% center;
    background-size: cover;
}
.ablauf-image {
    width: 100%;
    max-width: 716px;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
}
.ablauf-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
}
.ablauf-content {
    padding-left: 40px;
}
.ablauf-list {
    padding-left: 20px;
}
@media (max-width: 768px) {
    .ablauf-section {
        background: none;
        background-color: #F9F6F1;
    }
    .ablauf-content {
        padding-left: 0;
    }
    .ablauf-image {
        width: 100%;
        max-width: 400px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
}
/*==================================== Organisation Section =====================================*/
.org-section {
    background: #6b4a5a;
    padding: 100px 0;
    background-image: url('../images/backgrounds/schildkroete.png');
    background-repeat: no-repeat;
    background-position: 7% 81%;
    background-size: 20% auto;
}
.org-content {
    max-width: 900px;
}
/*==================================== CTA Section =====================================*/
.cta-section {
    background: #f5f2ef;
    padding: 100px 0;
}
.cta-section a {
    background-color: #F9F6F1;
}
@media (max-width: 768px) {
    .org-section {
        padding: 30px 0;
        background-position: 7% 97%;
    }
    .cta-section {
    padding: 30px 0;
}
}
/*==================Contact Section===================*/
.contact-section {
    background: #6b4a5a;
    padding: 100px 0;
    color: #F9F6F1;

    /*background-image: url('../images/backgrounds/contact-bg.png');*/
    background-repeat: no-repeat;
    background-position: left bottom;
}
/* TITLE */
.contact-title {
    font-size: var(--heading-size);
    margin-bottom: 30px;
}
/* FORM */
.contact-form input,
.contact-form textarea {
    background-color: #F9F6F1;
    width: 100%;
    margin-bottom: 15px;
    padding: 8px;
    border-radius: 5px;
    border: none;
    text-align: right;
    font-family: var(--second-font);
    color: var(--primary-color);
    font-size: 22px;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none; /* 🔥 uklanja crni border */
}
.contact-form textarea {
    height: 290px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    text-align: right;
    color: #b8ada7;
    font-size: 22px;
}
/* RIGHT SIDE */
.contact-map iframe {
    width: 100%;
    height: 364px;
    border-radius: 8px;
    margin-top: 70px;
}
.contact-logo img {
    filter: brightness(0) invert(1);
}
/* WRAPPER */
.contact-bottom {
    justify-content: center;
    margin-top: 20px;
}
/* WRAPPER */
.contact-gender {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}
/* LABEL */
.radio-box {
    display: flex;
    align-items: center; 
    gap: 10px;
    cursor: pointer;
    position: relative;
}
.radio-box input {
    display: none;
}
/* Checkbox */
.custom-box {
    width: 49px;
    height: 49px;
    background: #F9F6F1;
    display: inline-block;
    border-radius: 5px;
    position: relative;
}
.custom-box::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 28px;
    border: solid var(--primary-color);
    border-width: 0 3px 3px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}
.radio-box input:checked + .custom-box::after {
    transform: translate(-50%, -65%) rotate(45deg) scale(1);
}
@media (max-width: 991px) {
    .contact-section {
        padding: 30px 0;
    }
    .contact-bottom{
        margin: 0 auto;
        justify-content: space-between;
    }
    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
}

@media (max-width: 575px) {
    .contact-details {
        align-items: center;
        text-align: center !important;
        margin-top: 15px;
    }
}
/*======Footer Section=======*/
.footer {
    background: #6b4a5a;
    padding: 30px 0;
    color: #F9F6F1;
    padding-top: 110px;
}
.footer .row {
    column-gap: 25px;
}
.footer-logo img {
    width: 100%;
    max-width: 380px; /* desktop max */
    height: auto;
    filter: brightness(0) invert(1);
    margin-left: -120px;
}
.footer-links {
    display: flex;
    gap: 50px;
}
.footer-links a {
    color: #F9F6F1;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.footer-links a:hover {
    opacity: 0.7;
}
/* ===================== */
/* 📱 MOBILE */
/* ===================== */
@media (max-width: 1345px) {

    .footer {
        text-align: center;
    }

    .footer-logo img {
        margin-left: 0; 
        max-width: 280px;
    }

    .footer-links {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    .footer .row {
        row-gap: 5px;
        column-gap: 0;
    }
}

/* ===================== */
/* IMPRESSUM Und DATENSCHUTZ */
/* ===================== */
.impressum-overlay {
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F9F6F1;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}
.impressum-overlay.active {
    transform: translateY(0);
}
.impressum-header {
    background: #6b4a5a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    flex-shrink: 0;
}
.impressum-header img {
    width: 160px;
    filter: brightness(0) invert(1);
}
#closeImpressum {
    font-size: 28px;
    background: none;
    border: none;
    color: #F9F6F1;
    cursor: pointer;
}
#closeDatenschutz {
    font-size: 28px;
    background: none;
    border: none;
    color: #F9F6F1;
    cursor: pointer;
}
.impressum-body {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    overflow-y: auto;
}

/* padding samo za content */
.impressum-content {
    padding: 60px 40px;
}
.impressum-body a {
    text-decoration: underline;
    color: inherit;
}
.impressum-body::-webkit-scrollbar {
    width: 6px;
}
.impressum-body::-webkit-scrollbar-thumb {
    background: #6b4a5a;
    border-radius: 10px;
}

/* ===================== */
/* MOBILE */
/* ===================== */

@media (max-width: 991px) {

}















/* GLAVNI accordion */
.werdegang-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}

/* tekst spacing */
.werdegang-content p {
    line-height: 1.4;
    margin-top: 20px;
}

/* klik stil */
.about-link,
.fortbildungen-toggle {
    cursor: pointer;
}

/* DRUGI nivo */
.fortbildungen-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}
.fortbildungen-content li {
   
}


.impressum-footer {
    background: #6b4a5a;
    padding: 20px 40px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex-shrink: 0;
}

.impressum-footer a {
    color: #F9F6F1;
    text-decoration: none;
}

.impressum-footer a:hover {
    opacity: 0.7;
}


/*** Anpassungen Feedback 20.04. ***/

.therapy-images .col-12.col-lg-4 {
    @media(min-width: 992px) {
        padding: 0;
    }
}

.telbutton {
    @media(min-width: 768px) {
        margin-left: 15px;
    }
}

/*** Anpassungen Feedback 07.05 ****/

@media(max-width: 991px) {
    .contact-form .contact-btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}
