/*! ------ Grundeinstellungen ------ */



* {

    margin: 0;

    padding: 0;

}



:root {

    --l-green: #DFE6D9;

    --d-green: #57783B;

    --l-blue: #DEE4F4;

    --d-blue: #294894;

    --l-text: white;

    --d-text: black;

    --vh: 100%;

}



body {

    user-select: none;

}



body::-webkit-scrollbar {

    display: none;

}



.roboto-Font {

    font-family: "Roboto", sans-serif;

    font-optical-sizing: auto;

    font-weight: 400;

    font-style: normal;

    font-variation-settings:

      "wdth" 100;

}



h1, h2, h3, h4, h5 {

    text-transform: uppercase;

    padding: 5px;

    color: var(--d-green);

}



h1 {

    font-size: clamp(1rem, 5vw, 3rem);

}



h2 {

    font-size: clamp(1.5rem, 5vw, 2rem);

}



h3 {

    font-size: clamp(1.2rem, 5vw, 1.5rem);

    background-color: var(--l-green);

}



h4 {

    font-size: clamp(1rem, 5vw, 1.2rem);

}



h5 {

    font-size: clamp(1rem, 5vw, 1.5rem);

}



p {

    font-size: clamp(0.8rem, 5vw, 1rem);

}



a {

    text-align: center;

    color: var(--l-text);

    text-decoration: none;

}



li {

    font-size: clamp(1rem, 1rem, 1.5rem);

}



hr {

    width: 100%;

    max-width: 1200px;

    height: 1.2px;

    background-color: var(--l-green);

    border: none;

}



.sub-Title {

    color: var(--d-green);

}



.f-center {

    display: flex;

    justify-content: center;

    align-items: center;

}



.f-revDirect {

    flex-direction: row-reverse;

}



.f-Wrap {

    flex-wrap: wrap;

}



.f-revWrap {

    flex-wrap: wrap-reverse;

}



.f-noWrap {

    flex-wrap: nowrap;

}



.f-justEnd {

    justify-content: end;

}



.t-noWrap {

    text-wrap: noWrap;

}



.correct {

    flex-wrap: wrap;

}



.list-Item-Empty {

    list-style: none;

    color: transparent;

}



#sub-Footer{

    width: 100%;

    height: 50px;

    padding: 1rem 0;



    position: relative;



    color: var(--l-text);

    background-color: rgb(39, 39, 39);

}



#sub-Footer div {

    display: flex;

    flex-direction: column;

    gap: 5px;

    text-align: center;

}



#copy-R {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

}



#admin {

    width: 50px;

    height: auto;

    position: absolute;

    top: 50%;

    right: 10px;

    transform: translate(-50%, -50%);

}

#admin a {

    cursor: default;

}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #444;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*! -------------------------------------  */





/*? ------ Header ------ */



header {

    width: auto;

    height: auto;

}



/** header auf der "Home" Seite **/

.header-large {

    width: 100%;

    height: 100vh;

    background-image: url(/medien/head-Bild.jpeg);

    background-position: 20% 100%;

    background-repeat: no-repeat;

    background-size: cover;

}



/** header auf allen Seiten auser "Home" **/

.header-small {

    width: 100%;

    max-height: 50vh;

    min-height: 30vh;

    background-image: url(/medien/head-Bild.jpeg);

    background-position: 50% 60%;

    background-repeat: no-repeat;

    background-size: cover;

}



#logo {

    width: clamp(200px, 50%, 600px);

    height: auto;

    padding: 20px;

}



/*? ------------------------------------ */





/*? ------ Navigation ------ */



nav {

    width: 100%;

    height: 3rem;

    padding: 10px 0;



    background-color: var(--l-green);

    color: var(--d-green);

    position: sticky;

    top: 0;

    z-index: 10;



    box-shadow: 0 0 5px gray;

}



nav ul {

    width: auto;

    height: auto;

}



nav ul li {

    display: inline;

    padding: 10px 20px;



    font-weight: bold;

    font-size: 1.4rem;

    /* background-color: bisque; */

}



.active,

nav ul li:hover {

    background-color: var(--d-green);

    color: var(--l-green);

    cursor: pointer;

}



/** Navigation ab >1200px **/

#burger-Menu {

    display: none;

}



/*? ------------------------------------ */





/*? ------ Content ------ */



/** allgemeine Definitionen **/

main {

    width: calc(100% - 60px);

    padding: 30px;

    background-color: rgb(230, 230, 230);

}



.content {

    width: 90%;

    max-width: 1200px;

    min-height: 500px;



    display: none;

    flex-direction: column;

    gap: 20px;

}



.content > section {

    width: calc(100% - 30px);

    height: auto;

    padding: 30px 15px;

    display: flex;

    justify-content: center;

    background-color: var(--l-text);

    gap: 20px;

}



.content > section p {

    column-width: 300px;

}



.sec-Para {

    width: 70%;

    display: flex;

    flex-direction: column;

    justify-content: stretch;

    gap: 10px;

}



.sec-Img {

    max-width: 300px;

    max-height: 300px;

    border: 1px solid black;

}



.sec-Img img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

}



.person-Card-Btn,

.sec-Btn {

    width: 100%;

    min-height: 40px;

    margin-top: 15px;

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;

    cursor: pointer;

}



.icon {

    display: inline-block;

    width: 1.2rem;

    height: 1.2rem;

    min-width: 1.2rem;

    margin-right: 0.5rem;

    background-image: url(/medien/icons-Logo/icons8-eingekreist-rechts-2-48.png);

    background-size: contain;

    background-repeat: no-repeat;

    background-position: center;

}



.person-Card-Btn > span,

.person-Card-Btn > a,

.sec-Btn > span,

.sec-Btn > a {

    height: auto;

    padding: 0.8rem;

    color: var(--l-text);

    border-radius: 2px;

    background-color: var(--d-blue);

    display: flex;

    flex-direction: row;

    align-items: center;

}



.site-Title {

    width: calc(100% - 2rem);

    padding: 1rem;

    background-color: var(--l-text);

    text-align: center;

}



.site-Title h2 {

    padding: 5px;

    background-color: var(--l-green);

}



.list,

.list-In-Para {

    margin-left: 10%;

}



.list li,

.list-In-Para li {

    background-color: transparent;

}



/** Content der Seite "Home" **/


/** Content der Seite "Team" **/

#content-team > section {

    display: flex;

    flex-wrap: wrap;

    padding: 30px 15px;

}



.person-Card {

    width: clamp(100px, 100%, 300px);

    height: auto;

    padding: clamp(0.5rem, 5vw, 1.5rem);



    display: grid;

    grid-template-columns: auto;

    grid-template-rows: repeat(4, auto);

    gap: 20px;



    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);

    background-color: rgb(240, 240, 240);

}



.card-Portrait {

    width: clamp(50px, 100%, 300px);

    justify-self: center;

}



.card-Portrait img {

    width: 100%;

}



.card-Title {

    width: calc(100% - 2rem);

    height: 150px;

    padding: 1rem;

    display: flex;

    flex-direction: column;

    text-align: center;

    background-color: var(--l-green);

    border-radius: 10px;

}



.card-T-hr-icon {

    height: 25%;

    padding: 0 10px;

    flex-direction: row;

}



.card-T-hr-icon > hr {

    width: 100%;

    height: 1px;

    background-color: rgb(150 150 150);

}



.card-T-hr-icon > img {

    height: 30px;

    padding: auto 1rem;

}



.card-T-hr {

    height: 25%;

    padding: 0 10px;

    flex-direction: row;

}



.card-T-hr > hr {

    width: 100%;

    height: 1px;

    background-color: rgb(150 150 150);

}



.card-Name {

    height: 50%;

    display: flex;

    flex-direction: column;

}



.card-Info {

    min-height: 100px;

    width: 100%;

    height: auto;

    

    display: flex;

    flex-direction: column;

    gap: 1rem;



    /* background-color: chocolate; */

}



.no-Btn {

    visibility: hidden;

    display: block;

}





/* ---------------------------------------------------- */



/* weitere Seiten */



/* indikation */

ul > ul {

    padding-left: 30px;

}



#content-indika {

    width: 100%;

    height: 100%;



    display: flex;

    flex-direction: column;

}



#content-indika section {

    flex-direction: column;

    justify-content: center;

    align-items: center;

}



#content-indika section .sec-Para {

    width: 90%;

}



#content-indika section p {

    column-width: auto;

}



#content-indika section #list-Wrapper div > ul {

    padding: 15px 0;

}



#list-Wrapper {

    width: 100%;

    height: 100%;



    display: flex;

    flex-direction: row;

    justify-content: space-around;

    flex-wrap: wrap;

}



#list-Wrapper > div {

    width: 350px;

    height: auto;

    padding: 20px;

}



#indika-Element-Wrapper {

    width: 90%;

    height: 100%;

    padding: 20px 0;

    display: flex;

    flex-direction: row;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap-reverse;

    gap: 50px;

}



#indika-Element-Wrapper img {

    width: 300px;

    height: 300px;

}



#indika-Element-Wrapper > div {

    width: 300px;

}



#indika-Element-Wrapper .person-Card-Btn {

    flex-direction: column;

    align-items: start;

}



.img {

    width: 100%;

    height: 100%;



    display: flex;

    justify-content: center;

    align-items: center;

}





/* erklärvideos */

#content-videos section {

    flex-direction: column;

    align-items: center;

}



.video-Wrapper {

    width: 80%;

    height: auto;

}



.video-Wrapper iframe {

    width: 100%;

    height: clamp(150px, 40vw, 500px);

}



.video-Collaction {

    width: 80%;

    height: 100%;

    min-height: 350px;

    display: grid;

}



#video-Collaction-One {

    grid-template-columns: repeat(4, 1fr);

    grid-template-rows: auto;

    gap: 10px;

}



.video-Cover {

    width: 100%;

    min-width: 100px;

    height: 180px;



    object-fit: cover;

}



.video-Cover p {

    padding-top: 5px;

    font-size: 0.8rem;

}



.video-Cover img {

    width: 100%;

    height: auto;

    aspect-ratio:  16 / 9;

}





/* ---------------------------------------------------------- */



/* Gesundheitspartner */

#partner-Public-List {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

}



#map-List-Display {

    width: 90%;

    min-height: 500px;

    height: auto;

    margin:  0 clamp(1rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem) ;



    display: flex;

    flex-direction: column;

    align-items: center;



    position: relative;



    transition: height 0.3s ease;

    overflow: hidden; /* optional */

    background-color: color-mix(in srgb, #ffff 70%, black 20%);

    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);

}



#kanton-Wrapper {

    width: 80%;

    height: 100%;



    display: flex;

    flex-direction: row;

    justify-content: center;

    align-items: center;

    align-content: center;

    flex-wrap: wrap;

}



.kanton-box {

    width: 100px;

    height: 100px;

    background-color: #ffff;



    display: flex;

    justify-content: center;

    align-items: center;

    margin: 10px;

    border-radius: 5px;

    cursor: pointer;

    transition: background-color 0.2s;

}



.kanton-box:hover {

    background-color: var(--l-green);

}



.kanton-box img {

    width: 40%;

}



#final-List {

    width: 100%;

    height: 90%;



    display: none;

    flex-direction: column;

    gap: 1rem;

    padding: 2rem 0;

}



.partner-Gruppe {

    margin-top: 10px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}



.partner-Eintrag {

  background-color: white;

  margin-bottom: 10px;

  padding: 1rem;

  border-radius: 8px;

  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.partner-Eintrag a {
    color: var(--d-green);
}

.methode-Gruppe {

    margin-left: clamp(1rem, 5vw, 5rem);

    margin-right: clamp(1rem, 5vw, 5rem);

}

  

.methode-Gruppe h4 {

  color: var(--d-green);

  border-bottom: 1px solid #ccc;

}



#partner-Step-Back-Btn {

    width: 90%;

    height: auto;

}



#partner-Step-Back-Btn img {

    width: 40px;

    height: 40px;

}



#partner-Step-Back-Btn:hover {

    cursor: pointer;

}



/** Gesundheitspartner PopUp **/



#partner-PopUp-Wrapper {

    width: 100vw;

    height: calc(var(--vh, 1vh) * 100);

    background-color: rgba(0, 0, 0, 0.5);



    position: fixed;

    top: 0;

    left: 0;

    z-index: 20;



    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;



    opacity: 0;

    transform: scale(0.97);

    transition: opacity 0.4s ease, transform 0.4s ease;

    pointer-events: none; /* verhindert Klicks im unsichtbaren Zustand */

    visibility: hidden; /* animierbarer Ersatz für display: none */

}



#partner-PopUp-Wrapper.visible {

    opacity: 1;

    transform: scale(1);

    pointer-events: auto;

    visibility: visible;

  }



#partner-PopUp {
    max-width: 420px;
    width: 80%;

    max-height: calc(var(--vh, 1vh) * 100);
    height: auto;

    margin: 2rem;
    padding: clamp(15px, 5vw, 30px) clamp(15px, 5vw, 50px);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    overflow-y: scroll;
    overflow-x: hidden;
    background-color: var(--l-text);
    border-radius: 20px;
    box-shadow: 0 0 10px black;
}



#partner-PopUp::-webkit-scrollbar {
    display: none;
}



#popup-Title {
    width: 100%;
    height: 50px;

    display: grid;
    place-items: center;
    background-color: var(--d-green);
    color: var(--l-green);
    grid-area: title;

}

#popup-Header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#popup-Close {
    width: 20px;
    height: 20px;
    background-color: #c40000;
    color: var(--l-text);
    outline: none;
    border: none;
    align-self: flex-end;
}
#popup-Close:hover {
    background-color: #940000;
}

#popup-Content {
    width: 380px;

    display: grid;
    gap: 20px 5px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    grid-template-areas: 
        'ausbildung bild'
        'fachgebiet bild'
        'standort icon'
        'tel zeit'
    ;
}

#partner-PopUp-Bild {
    grid-area: bild;
}
#popup-Ausbildung {
    grid-area: ausbildung;
}
#popup-Fachgebiet {
    grid-area: fachgebiet;
}
#popup-Standorte {
    grid-area: standort;
}
#popup-Standorte-Icon {
    grid-area: icon;
}
#popup-Tel {
    grid-area: tel;

    display: flex;
    flex-direction: column;
    gap: 4px;
}
#popup-Zeiten {
    grid-area: zeit;
}

#popup-Kontakt {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#popup-Kontakt div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#partner-PopUp-Bild img {
    max-height: 150px;
    max-width: 150px;
    border-radius: 50%;
}

#popup-Standorte-Icon img {
    max-width: 50px;
    max-height: 50px;
}

#adressen-Wrapper {
    display: flex;
    gap: 10px;
}

#popup-Content a,
#popup-Kontakt a {
    color: var(--d-text);
    text-align: start;
}

#popup-Content div {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


#popup-Hint {

    width: 90%;

    margin-top: 10px;



    font-size: 12px;

}



#popup-Hint p {

    column-width: auto;

}



#popup-Close-Wrapper {

    width: 100%;

    height: auto;

    margin-bottom: 20px;

    display: flex;

    justify-content: end;

    align-items: center;

}



.popup-Close-Btn {

    padding: 5px;

    background-color: #ff4d4d;

    outline: none;

    border: 1px solid black;

    line-height: 1;

}

.popup-Close-Btn:hover {

    background-color: #c40000;

}

.adresse-Item {
    width: auto !important;
    display: flex;
    align-items: center;
}


/* für die Scrolleigenschaft der Hauptseite, wenn das PopUp offen oder geschlossen ist */
html.no-scroll,
body.no-scroll,
body.no-scroll #main {
    overflow: hidden !important;
    touch-action: none;
}


/*? --------------------------------- */





/*? ------ Footer ------ */



/* footer allgemein */

footer {

   width: auto;

   height: auto;

   padding: clamp(5px, 5vw, 50px);

   background-color: var(--d-green);

   display: flex;

   flex-direction: column;

   gap: 20px;



   color: var(--l-text);

}



footer section {

   width: 90%;

   height: auto;

   max-width: 1200px;

   min-height: 150px;

   padding: 20px;

   place-self: center;

   display: flex;

   flex-wrap: wrap;

   justify-content: space-evenly;

   align-items: center;

   gap: 20px;

   text-shadow: 0 1px 4px rgb(59, 59, 59);



   border-radius: 5px;

   box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);

   background-color: var(--d-green);

   filter: brightness(0.8);

}



footer section h2,

footer section h4 {

    color:var(--l-text);

    text-transform: none;

}



footer section > div {

    width: auto;

    min-width: 250px;

    height: 100%;

    text-align: center;



    /* background-color: bisque; */

}



/* Section contact */

section#contact-sec {

    text-wrap: nowrap;

}



/* Section partner */

section#partner-sec {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 0;

}



section#partner-sec h2 {

    padding: 10px 0;

}



section#partner-sec div a img {

    height: auto;

    height: clamp(20px, 10vw, 50px);

    text-align: center;



    padding: 10px 20px;

    background-color: var(--l-green);

    border-radius: 15px;

}



#partner-List {

    width: 100%;

    min-height: 100px;

}





/* Section impressum */

#address {

    width: auto;

    text-align: left;

}



#social {

    min-height: auto;

    width: auto;

    flex-direction: column;

    gap: 10px;

}



#social img {

    width: auto;

    height: 40px;

}



.social-Btn {

    height: 50px;

    width: auto;

    padding: 0 20px 5px 20px;

    border-radius: 5px;



    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 10px;

}



.social-Btn:hover {

    padding: 5px 20px 0 20px;

}



#social a {

    color: var(--l-text);

    text-decoration: none;

}



#instagram {

    background-color: #c13584;

    box-shadow: inset 0 -5px #84245a;

}



#instagram:hover {

    box-shadow: inset 0 5px 5px #84245a;

}



#facebook {

    background-color: #3b5998;

    box-shadow: inset 0 -5px #22345a;

}



#facebook:hover {

    box-shadow: inset 0 5px 5px #22345a;

}

/*? -------------------------------- */