@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=SN+Pro:wght@200..900&display=swap');

 .Search-bar{
    background-color: white;
    outline: none;
    border: none;
    border-radius: 20px;
    justify-self: center;
    position: fixed;
    align-self: flex-start;
    top: 5px;
    height: 40px;
    width: 40vw;
    padding: 10px 10px 10px 10px;
 }
.Login{
    justify-self: center;
    display: grid;
    align-self: center;
    background-color: #303030;
    border-radius: 20px;
    border: none;
}
.Email_Input,.Passwort_Input,.Login_Button,.Register_Username,.Register_Email,.Register_Password,.Register_Password2,.Name_Register,.Register_Button,.Role_Register{
width: 25vw;
height: 5vh;
border-radius: 10px;
border: none;
margin: 10px;
background-color: #1c1c1b;
color: white;
}
.Email_Input{
grid-row: 4;
}
.Passwort_Input{
grid-row: 5;
}
.content {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

    body {
    min-height: 100vh;
    background-color: rgb(231, 231, 231);
}
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "inter", sans-serif;
        }
.Login_Text_1,.Login_Text_2,.Register_Text{
font-family: Roboto;
color: white;
display: flex;
justify-content: center;
}
.Login_Text_1{
grid-row: 2;
}
.Logo{
    width: 5vw;
    grid-row: 1;
    border-radius: 5px;
    display: flex;
    justify-self: center;
    margin: 10px;
    box-shadow: 0 0 10px #1c1c1b ;
}
.Login_Text_Container,.Register_Text_Container{
grid-row: 3;
display: flex;
justify-content: center;
}
.Login_Text_2,.Register_Text2{
color: rgb(160, 160, 160);
font-size: 1vw;
font-family: "inter",sans-serif;
grid-row: 3;
justify-self: center;
margin-right: 0.3vw;
}
.Login_Text_3,.Register_Text3{
color: white;
font-size: 1vw;
font-family: Arial, Helvetica, sans-serif;
grid-row: 3;
justify-self: center;
margin-left: 0;
background-color: transparent;
border: none;
}
.Login_Button{
background-color: rgb(0, 130, 210);
}




.RegisterPage{
display: none;
justify-self: center;
align-self: center;
background-color: #303030;
border-radius: 20px;
border: none;
}
.Register_Text{
font-family: Roboto;
color: white;
display: flex;
justify-content: center;
}

.Register_Button{
background-color: rgb(0, 130, 210);
}


.sidebar {
    width: 260px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    display: flex;
    position: fixed;
    min-height: 100vh;
}


.logo {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 40px;
    text-align: center;
}


.menu {
    list-style: none;
    flex: 1;
    overflow-y: auto;
}


.menu a,
.menu button,.sidebar-footer button {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 100%;
    padding: 12px 14px;

    background: none;
    border: none;
    cursor: pointer;

    text-decoration: none;
    color: #555;
    font-weight: 500;

    border-radius: 10px;
    transition: all 0.25s ease;
}


.menu a i,
.menu button i ,.sidebar-footer button i{
    font-size: 18px;
    width: 22px;
    text-align: center;
}


.menu a:hover,
.menu button:hover ,.sidebar-footer button:hover{
    background: #f1f3f5;
    color: #111;
}


.menu a.active,
.menu button.active {
    background: #111;
    color: #ffffff;
}
.menu li {
    margin-bottom: 10px;
}
.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: auto;
}


.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #888;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-footer button:hover {
    color: #111;
}
 body.logged-out {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.logged-in {
    display: grid;
    grid-template-columns: 260px 1fr; /* Sidebar + Content */
    min-height: 100vh;
}
body.logged-in .sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.DashboardPage{
display: none;
width: 100%;
height: 100%;
grid-template: 1fr 1fr 1fr/ 1fr 1fr 1fr;
}
.AufgabenPage{
display: none;
}
.FehlerPage{
display: none;
}
#Logout_Navbar{
    color: black;
}
.Git-Hub-Link{
background-color: #555;
}
/*                                                   
--------------------------------------------------------------------------
-----------------------------Aufgaben Pgae--------------------------------
--------------------------------------------------------------------------
*/

body.logged-in .content {
    display: grid;
    grid-template-columns: 1fr; /* volle Breite neben Sidebar */
    grid-column: 2; /* zweite Spalte des body grids */
    padding: 40px;
    justify-items: center;
    width: 100%;
    place-items: center;
}



body.logged-in .sidebar {
    display: flex;
}
body.logged-out .sidebar {
    display: none !important;
}

body.logged-out .content {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 0; /* keine Sidebar berücksichtigen */
}

.Data_Aufgaben,.Fehler_Aufgaben{
    border: 4px black solid;
  }
.Id{
    color: red;
}
*{
    font-family: "inter",sans-serif;
}
.Task,.Fehler{
font-weight: 500;

}
.Headline,.Headline_Fehler{
font-size: 1.3rem;
font-weight: 600;
}
.tag,.State,.tag_Fehler,.State_Fehler{
border: none;
border-radius: 5px;
text-align: center;
padding: 3px;
font-weight: 300;
margin: 2.5px;
height: 30px;
}
.configure,.configure_Fehler{
background-color: transparent;
border: none;
border-radius: 50%;
width: 5vh;
height: 5vh;
}
.configure:hover,.configure_Fehler:hover{
    background-color: rgb(233, 233, 233);
}
.list,.list_Aufgaben{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 0 auto;      
}
.Data_Aufgaben,.Data_Fehler{
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    width: 200px;
    display: grid;
    gap: 5px;
     box-sizing: border-box;
}
.Div_State_Tag,.Div_State_Tag_Fehler{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.Container_Configure_Task,.Container_Configure_Fehler{
    position: fixed;
    height: 100vh;
    width: 40vw;
    border: 1px solid #ccc;
    align-self: center;
    justify-self: center;
    align-content: center;
    justify-content: center;
    background-color: white;
    display: grid;
    border-radius: 20px;
}
.popup,.popup_Fehler,#popupAddFehler{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30vw;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  height: 90vh;
  display: none; /* standardmäßig aus */
}

.popup.show,.popup_Fehler.show,#popupAddFehler.show{
  display: grid;
}
.btn_close_PopUP,.btn_close_PopUP_Fehler{
    border-radius: 100%;
    background-color: transparent;
    width: 2.6rem;
    height: 2.6rem;
    border: none;
    margin-right: 10px;
}
.Header_PopUp,.Header_PopUp_Fehler{
    display: flex;
}
#title_Task,#title_addTask,#title_Fehler,#title_addFehler{
            width: 27vw;
            padding: 14px 20px 14px 6px;
            font-size: 2vh;
            border: none;
            border-radius: 10px;
            margin-bottom: 6px;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            background-position: 15px center;
            justify-self: center;
            height: 2vh;
}
#description_Task,#description_addTask,#description_Fehler,#description_addFehler{
            width: 27vw;
            padding: 14px 20px 14px 6px;
            font-size: 2vh;
            border: none;
            border-radius: 10px;
            margin-bottom: 6px;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            background-position: 15px center;
            justify-self: center;
            height: 6vh;
}
#assignee_Task,#assignee_addTask,#assignee_Fehler,#assignee_addFehler{
            width: 27vw;
            padding: 14px 20px 14px 6px;
            font-size: 2vh;
            border: none;
            border-radius: 10px;
            margin-bottom: 6px;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            background-position: 15px center;
            justify-self: center;
            height: 2vh;
}

#priority_Task,#priority_addTask,#priority_Fehler,#priority_addFehler{
            width: 27vw;
            font-size: 2vh;
            border: none;
            border-radius: 10px;
            margin-bottom: 6px;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            background-position: 15px center;
            justify-self: center;
            height: 6vh;
}
#tagColor_Task,#tagColor_addTask,#tagColor_Fehler,#tagColor_addFehler{
  width: 20%;
  height: 50px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 5px;
  background-color: transparent;
  transition: all 0.3s ease;
  font-size: 2vh;
}
.Submit_Task,#Submit_addTask,#Submit_Fehler,#Submit_addFehler{
background-color: rgb(43, 43, 43);
color: white;
border: none;
border-radius: 20px;
justify-self: center;
width: 100%;
height: 5vh;
transition: 0.2s all;
margin-top: 5px;
font-size: 2vh;
}
.btn_delete_Task,.btn_delete_Fehler {
background-color: rgb(241, 240, 240);
color: white;
border: none;
border-radius: 20px;
justify-self: center;
width: 100%;
height: 5vh;
margin: 15px;
color: rgb(255, 80, 80);
transition: all 0.2s;
font-weight: 700;
}

.btn_delete_Task:active,.btn_delete_Fehler:active {
  scale: 0.98;
    transform: translateY(-5px);
  box-shadow: 0 0 10px rgb(110, 186, 184);
}
.Submit_Task:active,.Submit_addTask:active,.Submit_Fehler:active,.Submit_addFehler:active{

  scale: 0.98;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgb(129, 129, 129);
}
.Title_PopUp,.Title_PopUp_Fehler{
    font-size: 3vh;
}
.Submit_Task:hover,.Submit_Fehler:hover{
background-color: rgb(63, 63, 63);
}
#Submit_addTask:hover,#Submit_addFehler:hover{
  background-color: rgb(67, 67, 67);
}
.btn_delete_Task:hover,.btn_delete_Fehler:hover{
background-color: rgb(129, 232, 255);
}
.addTask,.addFehler{
  position: fixed;
  background-color: rgb(43, 43, 43);
  color: white;
  width: 10vw;
  height: 5vh;
  border: none;
  border-radius: 10px;
  justify-self: right;
  transition: all 0.1s;
  top: 20px;
  right: 30px;
  justify-self: auto;
  align-self: auto;
  z-index: 1000;
}
.addFehler {
  position: fixed;
  
}
.addTask:hover,.addFehler:hover{
  background-color: black;
}
.addTask:active,.addFehler:active{
  scale: 0.96;
}
#list,#list_Fehler{
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    justify-self: center;
    min-height: 100vh;
    padding-left: 20px;
    padding-top: 40px;
}

body.logged-in .AufgabenPage {
  display: grid;
  grid-column: 1; /* neben Sidebar */
  grid-template-rows: auto 1fr;
  align-items: start;
}
.Aufgaben_Page_addButton,.Fehler_Page_addButton{
display: grid;
  grid-template-rows: auto 1fr;
  padding: 40px;
}
.AufgabenHeader,.FehlerHeader{
  display: flex;
  justify-content: flex-end; /* Button rechts */
  align-items: flex-start;
}
.Headline,
.Task,
.Fehler,.Headline_Fehler {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.Data_Aufgaben p,.Data_Fehler p{
  margin: 4px 0;
}
.addFehler {
  position: fixed;
  top: 20px;
  right: 30px;

  justify-self: auto;
  align-self: auto;

  z-index: 1000;
}
body.logged-in .AufgabenPage .list_Aufgaben {
    display: grid;          /* statt flex */
    grid-template-columns: 1fr; /* nur eine Spalte */
    gap: 10px;              /* Abstand zwischen Aufgaben */
    justify-items: center;
    width: 100%;
}
body.logged-in .AufgabenPage .list_Aufgaben {
    display: grid;
    grid-template-columns: 1fr; /* nur eine Spalte */
    gap: 10px;
    justify-items: stretch;  /* Items füllen die ganze Breite */
    width: 100%;             /* volle Breite der Content-Spalte */
}

/*                                                   
--------------------------------------------------------------------------
----------------------------Dashboard Page--------------------------------
--------------------------------------------------------------------------
*/

#Date_p,#Time_p{
    font-size: 2rem;
    font-weight: 400;
    font-family: "SN Pro", sans-serif;
}
#Date_div{
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    align-self: flex-end;
}
#Time_div{
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    align-self: center;
}
.Greeting_Dashboard_div{
    justify-content: center;
    align-content: center;
    display: flex;
}
.Greeting_Dashboard{
    font-family: "Ubuntu",sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    font-style: normal;
    color: black;
}
.Fehler_gelöst_num,.Aufgaben_gelöst_num{
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 3rem;
}
.Aufgaben_gelöst_p,.Fehler_gelöst_p{
font-family: "Ubuntu",sans-serif;
font-weight: 300;
}
.Headline_Dashboard{
    background-color: white;
    font-family: "inter",sans-serif;
    font-weight: 500;
    font-size: 20px;
    width: 23vw;
    margin: 10px;
    height: fit-content;
    border-radius: 8px;
    align-self: center;
    text-align: center;
}
.Container_Items_fehler,.Container_Items_aufgaben{
    border: none;
    display: grid;
    grid-template: 2fr 0fr/1fr 1fr;
}
.Fehler_Punkt_Dashboard,.Aufgaben_Punkt_Dashboard{
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: none;
    justify-self: center;
    align-self: center;
    margin-right: 5px;
}
.Fehler_p,.Aufgaben_p{
    grid-row: 1;
    text-align: center;
    font-family: "Roboto",sans-serif;
    font-weight: 400;
    margin-top: 5px;
}
.Fehler_Widget,.Aufgaben_Widget{
    grid-row: 2;
    
}
.fehler_Widget_Frame,.aufgaben_Widget_Frame{
    
    display: grid;
    grid-template: 1fr 1fr;
    background-color: #c0bebe;
    border-radius: 10px;
}
.fehler_Widget_Frame{
    grid-row: 2;
    grid-column: 1; 
}
.aufgaben_Widget_Frame{
    grid-row: 3;
    grid-column: 1;
    margin-top: 10px;
}
.SettingsPage{
    background-color: #f1f1f1;
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 30px;
}
.Time_Tracker_btn{
  background-color: #303030;
  color: white;
  border: white 1px solid;
  border-radius: 10px;
  height: 5vh;
  width: 10vw;
  padding: 5px;
}
.Time_Tracker_div{
  grid-row: 2;
  grid-column: 3;
  justify-self: center;
}
.Time_Tracker_time{
  text-align: center;
} 
/*                                                   
--------------------------------------------------------------------------
-----------------------------Settings Page--------------------------------
--------------------------------------------------------------------------
*/
.Github_ändern_input{
outline: none;
width: 200px;
height: 30px;
border: 1px #303030 solid;
background-color: white;
border-radius: 10px;
padding: 10px;
}
.Github_ändern_btn{
color: white;
background-color: #303030;
width: 150px;
height: 30px;
border-radius: 10px;
}
.Github_ändern_div{
justify-self: center;
align-self: center;
margin: 10px;
}
.Github_ändern_btn:hover{
    background-color: #414141;
}
.Settings_h3{
    justify-self: center;
    padding-top: 1rem;
    margin-bottom: 20px;
}
.Name_ändern,.Email_ändern,.Passwort_ändern{
    grid-template: 1fr 1fr 1fr;
    height: 300px;
    transition: all 0.2s;
    display: grid;
}
.Name_ändern_h3,.Email_ändern_h3,.Passwort_ändern_h3{
    justify-self: center;
    align-self: center;
    transition: all 0.2s;
    margin-bottom: 10px;
}
.Name_ändern_h3:active,.Email_ändern_h3:active,.Passwort_ändern_h3:active{
transform: translateY(5px);
scale: 0.95;
box-shadow: 0 2px 10px rgba(255, 255, 255, 0.713);
}
.Name_ändern_h3:hover,.Email_ändern_h3:hover,.Passwort_ändern_h3:hover{
box-shadow: 0 2px 10px rgba(205, 205, 205, 0.392);
}
.Name_ändern_Email,.Name_ändern_Passwort,.Name_ändern_Name1,.Name_ändern_Name2,.Name_ändern_h3,.Email_ändern_Passwort,.Email_ändern_Email1,.Email_ändern_Email2,.Email_ändern_h3,
.Passwort_ändern_Email,.Passwort_ändern_Passwort1,.Passwort_ändern_Passwort2,.Passwort_ändern_Username,.Passwort_ändern_h3{
            width: 27vw;
            padding: 14px 20px 14px 6px;
            font-size: 2vh;
            border: none;
            border-radius: 10px;
            background-color: white;
            background-position: 15px center;
            justify-self: center;
            height: 5vh;
}
.hidden {
  display: none;
}
#Passwort_ändern_btn,#Email_ändern_btn,#Name_ändern_btn{
    background-color: #303030;
    color: white;
    padding: 0;
}
#Name_ändern_h3,#Email_ändern_h3,#Passwort_ändern_h3{
    background-color: white;
    color: black;
}
#Name_ändern_h3{
    align-self: flex-end;
}
#Passwort_ändern_h3{
    align-self: flex-start;
}
.Account_löschen_btn{
background-color: #303030;
color: red;
height: 5vh;
width: 30vw;
border: none;
border-radius: 10px;
justify-self: center;
align-self: flex-end;
transition: all 0.2s;
margin-top: 10px;
}
.Account_löschen_btn:hover{
    box-shadow: 0 0 2px black;
    background-color: #414141;
}
/*                                                   
--------------------------------------------------------------------------
---------------------------------Team Page--------------------------------
--------------------------------------------------------------------------
*/
.Team_Page{
display: none;
width: 100%;
height: 100%;
}

    .container {
      justify-self: center;
      align-self: flex-start;
      width: 100%;
    }

    h1 {
      margin-bottom: 6px;
    }

    .subtitle {
      color: black;
      margin-bottom: 30px;
      justify-self: center;
    }

    /* Sections */
    .section {
      margin-bottom: 40px;
    }

    .section h2 {
      margin-bottom: 14px;
      font-size: 20px;
      justify-self: center;
    }

    /* Form */
    .form {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 12px;
    }

    .form input {
      padding: 12px;
      border-radius: 10px;
      border: none;
      background: #888;
      color: black;
      background-color: white;
      width: 35vw;
      border: 2px solid transparent;
    }
    .form input:focus{
        border-color: #ffffff;
        outline: none;
    }

    .form button {
      padding: 12px 18px;
      border-radius: 10px;
      border: none;
      background: #303030;
      color: white;
      font-weight: 600;
      cursor: pointer;
      width: 20vw;
    }

    /* Grid */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 16px;
    }

    /* Card */
    .card {
      background: #020617;
      border: 1px solid black;
      border-radius: 16px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 14px;
      color: white;
      margin-top: 10px;
      width: 30vw;
    }

    .avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, #38bdf8, #6366f1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }

    .info {
      flex: 1;
    }

    .info span {
      font-size: 13px;
      color: white;
    }

    .actions button {
      border: none;
      background: none;
      cursor: pointer;
      font-size: 18px;
      margin-left: 6px;
    }
    .fa-trash-can{
        color: white;
    }
    .fa-check{
        color: white;
    }
    .Member_grid{
        display: flex;
        gap: 5px;
        margin-bottom: 20px;
        justify-self: center;
        flex-wrap: wrap;
    }
    .container h1{
        justify-self: center;
    }
    .section h2{
        justify-self: center;
    }
    .info span{
        color: rgb(107, 107, 107);
    }
    #No_requests_p{
        justify-self: center;
        align-self: center;
        margin-top: 10px;
        font-family: "Ubuntu",sans-serif;
    }
/*
--------------------------------------------------------------------------
---------------------------------Chat Page--------------------------------
--------------------------------------------------------------------------
*/

.Chat_Page {
    display: flex;
    flex-direction: column; 
    height: 90vh;
    width: 100%;           
    padding: 20px;
    box-sizing: border-box;
}

#Chat-Container {
    flex: 1;                 
    overflow-y: auto;        
    min-height: 0;           
}

.Footer-ChatPage {
    flex-shrink: 0;
    margin-top: 10px;
}


.Footer-ChatPage input {
    flex: 1;
    margin-right: 10px;
    height: 6vh; 
    width: 30vw; 
    border-radius: 8px; 
    outline: none; 
    border: 1px white solid; 
    padding: 10px; 
    transition: all 0.2s;
}
.Footer-ChatPage button {
    flex-shrink: 0;
    background-color: #303030; 
    width: 20vw; 
    height: 5vh; 
    border-radius: 8px; 
    color: white; 
    font-family: "SN Pro", sans-serif; 
    transition: all 0.1s;
}
#Chat_btn:hover{ 
    background-color: #494848; 
}
#Chat_Input:focus{ 
    border-color: #303030; 
}
.Delete_Message_Button{
    align-self: center;
    height: 30px;
    background-color: transparent;
    border: none;
}
.Message_Username_p{
    align-self: center;
    grid-area: 1 / 1 / 2 / 2;
    justify-self: flex-start;
    align-self: flex-start;
    font-family: "SN Pro", sans-serif;
    font-weight: 600;
}
.Message_Content{
    align-self: center;
    grid-area: 2 / 1 / 3 / 2;
    justify-self: flex-start;
    margin-bottom: 10px;
}
.Messages_Container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin-top: 10px;
    height: fit-content;
    align-content: center;
    text-align: center;
    width: 100%;
}
.profile_Container{
    align-content: center;
    justify-content: center;
    margin: 5px;
}
.Message_holder{
    display: flex;
    background-color: rgb(183, 183, 183);
    border-radius: 8px;
    margin-top: 6px;
}
.Delete_Message_Container{
    justify-content: center;
    align-content: center;
    margin: 5px;
}
/*
--------------------------------------------------------------------------
--------------------------Sprach Chat Page--------------------------------
--------------------------------------------------------------------------
*/
.popup_SprachChat{
    background-color: white;
    border-radius: 20px;
    color: black;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 2;
    display: grid;
}
#Sprach_Chat_Page{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: none;
}
.Join_SprachChat{
    background-color: #303030;
    border-radius: 9px;
    border: none;
    width: 12vw;
    height: 6vh;
    color: white;
    margin: 20px;
    align-self: flex-start;
    justify-self: center;
}
.Join_SprachChat:hover{
    background-color: #3f3f3f;
}
.No_Mates_Sprach_Chat{
    align-self: flex-start;
    font-family: "Ubuntu", sans-serif;
}
#Sprach_Chat_Page .h1{
    align-self: center;
}
.Sprach-Chat {
    display: none;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr) 1.5fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
#localVideo{
    border-radius: 5px;
    height: 20vh;
    opacity: 0;
    justify-self: flex-end;
    align-self: flex-end;
    border: 1px #303030 solid;
    grid-area: 1 / 5 / 2 / 6;
    max-height: 20vh; 
    width: auto;
}
.Kamera_On_Off,.Mic_On_Off,.Bildschirm_übertragung_btn,.Close_Voice_Chat_btn{
    width: 5vw;
    height: 5vh;
    height: fit-content;
    border-radius: 5px;
    background-color: white;
    border: none;
    justify-self: center;
    align-self: flex-end;
}
.Kamera_On_Off{
    grid-area: 2 / 2 / 3 / 3;
}
.footer_Voice_Chat {
    display: grid;
    grid-template-columns: repeat(4, auto) 1fr; 
    grid-auto-rows: auto; 
    grid-gap: 5px;
    justify-self: flex-end;
    align-self: flex-end;
    grid-area: 3 / 1 / 4 / 2;
}
.Mic_On_Off{
    grid-area: 2 / 1 / 3 / 2;
}
.Bildschirm_übertragung_btn{
    grid-area: 2 / 3 / 3 / 4;
}
.Close_Voice_Chat_btn{
    grid-area: 2 / 4 / 3 / 5;
    color: red;
    background-color: #303030;
}
#screenVideo{
    border-radius: 5px;
    height: 17vh;
    opacity: 0;
    justify-self: flex-end;
    align-self: flex-end;
    border: 1px #303030 solid;
    grid-area: 1 / 5 / 2 / 6;
    max-height: 20vh; /* max Höhe */
    width: auto;
}
.Header_Voice_Chat{
    grid-area: 1 / 1 / 2 / 2;
}
.Screen_Share_Voice_Chat{
    grid-area: 2 / 1 / 3 / 2;
}
.user-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    width: 100%;
    min-height: 200px; /* Wichtig! */
    justify-content: center;
}

.user-card {
    width: 280px;
    height: 210px;
    background: #2a2a2a;
    border-radius: 12px;
    position: relative;
    border: 2px solid #3d3d3d;
}

.user-card video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}
/*
--------------------------
------Search_Results------
--------------------------
*/
.Search_results_p{
    justify-self: center;
    align-self: flex-start;
    margin-top: 10px;
}
.Search_results_div{
    justify-content: center;
    align-self: center;
    display: flex;
}
.Search_Page{
    width: 100%;
    height: 100%;
}
/*
Landing Page

*/
:root {
      --white:   #ffffff;
      --off:     #f7f6f3;
      --ink:     #111110;
      --ink2:    #3a3935;
      --ink3:    #7a7870;
      --line:    #e4e2dc;
      --accent:  #1a56db;
      --accent-l:#e8eefb;
      --font-h:  'Instrument Serif', Georgia, serif;
      --font-b:  'Plus Jakarta Sans', sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }


    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    .container {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 32px;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
    }

    .nav-inner {
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }

    .nav-logo {
      font-family: var(--font-h);
      font-size: 1.25rem;
      letter-spacing: -0.01em;
      color: var(--ink);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.875rem;
      color: var(--ink3);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--ink); }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn-ghost {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--ink2);
      padding: 8px 18px;
      border-radius: 6px;
      border: 1px solid var(--line);
      background: var(--white);
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      display: inline-block;
    }
    .btn-ghost:hover { border-color: #c0bdb4; background: var(--off); }

    .btn-solid {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--white);
      padding: 8px 20px;
      border-radius: 6px;
      background: var(--ink);
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
      display: inline-block;
    }
    .btn-solid:hover { background: var(--ink2); transform: translateY(-1px); }

    .nav-mobile { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
    .bar { width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; }

    /* ── HERO ── */
    #hero {
      padding: 160px 0 100px;
      border-bottom: 1px solid var(--line);
    }

    .hero-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 24px;
    }
    .hero-eyebrow::before {
      content: '';
      width: 20px; height: 1px;
      background: var(--accent);
    }

    .hero-title {
      font-family: var(--font-h);
      font-size: clamp(2.6rem, 4.5vw, 3.8rem);
      font-weight: 400;
      line-height: 1.1;
      letter-spacing: -0.02em;
      color: var(--ink);
      margin-bottom: 24px;
    }
    .hero-title em { font-style: italic; color: var(--ink3); }

    .hero-body {
      font-size: 1rem;
      font-weight: 300;
      color: var(--ink3);
      max-width: 400px;
      margin-bottom: 40px;
      line-height: 1.75;
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .btn-primary-hero {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--white);
      background: var(--accent);
      padding: 12px 28px;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
      display: inline-block;
    }
    .btn-primary-hero:hover { background: #1344b8; transform: translateY(-1px); }

    /* App Preview */
    .app-frame {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
      box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 32px rgba(0,0,0,0.08),
        0 32px 80px rgba(0,0,0,0.06);
    }

    .app-chrome {
      height: 40px;
      background: var(--off);
      border-bottom: 1px solid var(--line);
      display: flex;
      align-items: center;
      padding: 0 16px;
      gap: 6px;
    }
    .dot { width: 9px; height: 9px; border-radius: 50%; }
    .dot.r { background: #ff5f57; }
    .dot.y { background: #ffbd2e; }
    .dot.g { background: #28c840; }
    .chrome-title { font-size: 0.72rem; color: var(--ink3); margin-left: 8px; font-weight: 500; }

    .app-content { padding: 20px; display: flex; gap: 16px; }

    .a-sidebar {
      width: 44px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding-top: 4px;
    }
    .a-sb-item {
      width: 36px; height: 36px;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.95rem;
      color: var(--ink3);
      cursor: pointer;
      transition: background 0.15s;
    }
    .a-sb-item:hover { background: var(--off); }
    .a-sb-item.active { background: var(--accent-l); color: var(--accent); }

    .a-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

    .a-section-label {
      font-size: 0.67rem;
      font-weight: 600;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: var(--ink3);
      margin-bottom: 4px;
      margin-top: 8px;
    }
    .a-section-label:first-child { margin-top: 0; }

    .a-task {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      border-radius: 6px;
      border: 1px solid var(--line);
      background: var(--white);
      font-size: 0.78rem;
      color: var(--ink2);
    }

    .a-check {
      width: 15px; height: 15px;
      border-radius: 4px;
      flex-shrink: 0;
    }
    .a-check.done { background: var(--accent); display: flex; align-items: center; justify-content: center; }
    .a-check.done::after { content: '✓'; color: white; font-size: 0.6rem; font-weight: 700; }
    .a-check.open { border: 1.5px solid var(--line); }

    .a-label { flex: 1; }
    .a-label.done { text-decoration: line-through; color: var(--ink3); }

    .a-pill {
      font-size: 0.65rem;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 4px;
    }
    .a-pill.high { background: #fef2f2; color: #dc2626; }
    .a-pill.mid  { background: #fffbeb; color: #d97706; }
    .a-pill.low  { background: var(--off); color: var(--ink3); }

    .a-av {
      width: 20px; height: 20px;
      border-radius: 50%;
      font-size: 0.58rem;
      font-weight: 700;
      color: white;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    .a-stat-row { display: flex; gap: 8px; margin-top: 4px; }
    .a-stat {
      flex: 1;
      background: var(--off);
      border-radius: 6px;
      padding: 10px 12px;
    }
    .a-stat-n {
      font-family: var(--font-h);
      font-size: 1.15rem;
      color: var(--ink);
      line-height: 1;
    }
    .a-stat-l { font-size: 0.68rem; color: var(--ink3); margin-top: 3px; font-weight: 500; }

    /* ── FEATURES ── */
    #features {
      padding: 100px 0;
      border-bottom: 1px solid var(--line);
    }

    .section-head {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: end;
      margin-bottom: 64px;
    }

    .section-eyebrow {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink3);
      margin-bottom: 16px;
    }

    .section-title {
      font-family: var(--font-h);
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 400;
      line-height: 1.15;
      letter-spacing: -0.02em;
    }
    .section-title em { font-style: italic; color: var(--ink3); }

    .section-body {
      font-size: 0.93rem;
      font-weight: 300;
      color: var(--ink3);
      line-height: 1.75;
      max-width: 380px;
      align-self: end;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
    }

    .f-card {
      background: var(--white);
      padding: 36px 32px;
      transition: background 0.2s;
    }
    .f-card:hover { background: var(--off); }

    .f-icon { font-size: 1.4rem; margin-bottom: 20px; line-height: 1; }

    .f-title {
      font-family: var(--font-h);
      font-size: 1.1rem;
      font-weight: 400;
      letter-spacing: -0.01em;
      margin-bottom: 10px;
      color: var(--ink);
    }

    .f-desc {
      font-size: 0.84rem;
      font-weight: 300;
      color: var(--ink3);
      line-height: 1.7;
    }

    /* ── TEAM ── */
    #team {
      padding: 100px 0;
      border-bottom: 1px solid var(--line);
    }

    .team-layout {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 80px;
      align-items: start;
    }

    .team-text .section-title { margin-bottom: 20px; }
    .team-text p {
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--ink3);
      line-height: 1.75;
      margin-bottom: 32px;
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .t-card {
      background: var(--off);
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 20px 16px;
      text-align: center;
      transition: background 0.2s, transform 0.25s;
    }
    .t-card:hover { background: var(--white); transform: translateY(-3px); }

    .t-av {
      width: 52px; height: 52px;
      border-radius: 50%;
      margin: 0 auto 12px;
      display: flex; align-items: center; justify-content: center;
      color: white;
      font-weight: 600;
      font-size: 0.82rem;
    }

    .t-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
    .t-role { font-size: 0.75rem; color: var(--ink3); }

    .t-online {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.7rem;
      color: #16a34a;
      margin-top: 10px;
    }
    .t-online::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: #16a34a;
      animation: blink 2.4s ease-in-out infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

    .t-add {
      width: 52px; height: 52px;
      border-radius: 50%;
      border: 1.5px dashed var(--line);
      margin: 0 auto 12px;
      display: flex; align-items: center; justify-content: center;
      color: var(--ink3);
      font-size: 1.3rem;
      transition: border-color 0.2s, color 0.2s;
    }
    .t-card:hover .t-add { border-color: var(--accent); color: var(--accent); }

    /* ── WORKFLOW ── */
    #workflow {
      padding: 100px 0;
      border-bottom: 1px solid var(--line);
      background: var(--off);
    }

    .workflow-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .wf-steps { display: flex; flex-direction: column; }

    .wf-step {
      display: flex;
      gap: 24px;
      padding: 28px 0;
      border-bottom: 1px solid var(--line);
    }
    .wf-step:first-child { padding-top: 0; }
    .wf-step:last-child  { border-bottom: none; padding-bottom: 0; }

    .wf-n {
      font-family: var(--font-h);
      font-size: 0.8rem;
      font-style: italic;
      color: var(--ink3);
      width: 24px;
      flex-shrink: 0;
      padding-top: 2px;
    }

    .wf-body h3 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
    .wf-body p  { font-size: 0.84rem; font-weight: 300; color: var(--ink3); line-height: 1.7; }

    .chat-frame {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    }
    .chat-top {
      background: var(--off);
      border-bottom: 1px solid var(--line);
      padding: 12px 16px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .chat-top-av {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--accent);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.7rem; color: white; font-weight: 700;
    }
    .chat-top-name { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
    .chat-top-status { font-size: 0.72rem; color: #16a34a; margin-top: 1px; }

    .chat-msgs { padding: 16px; display: flex; flex-direction: column; gap: 10px; }

    .c-msg { display: flex; gap: 8px; align-items: flex-end; }
    .c-msg.mine { flex-direction: row-reverse; }

    .c-av {
      width: 24px; height: 24px; border-radius: 50%;
      font-size: 0.62rem; font-weight: 700; color: white;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    .c-bubble {
      max-width: 72%;
      padding: 9px 13px;
      border-radius: 10px;
      font-size: 0.78rem;
      line-height: 1.55;
    }
    .c-msg:not(.mine) .c-bubble {
      background: var(--off);
      border: 1px solid var(--line);
      border-bottom-left-radius: 3px;
      color: var(--ink2);
    }
    .c-msg.mine .c-bubble {
      background: var(--accent);
      color: white;
      border-bottom-right-radius: 3px;
    }

    .chat-input-bar {
      border-top: 1px solid var(--line);
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .chat-input-txt { flex: 1; font-size: 0.78rem; color: var(--ink3); font-family: var(--font-b); }
    .chat-send-btn {
      width: 28px; height: 28px;
      border-radius: 6px;
      background: var(--accent);
      display: flex; align-items: center; justify-content: center;
    }
    .chat-send-btn svg { width: 11px; height: 11px; fill: white; }

    .wf-meta { display: flex; gap: 8px; margin-top: 12px; }
    .wf-meta-block {
      flex: 1;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 12px;
    }
    .wf-meta-n { font-family: var(--font-h); font-size: 1.3rem; color: var(--ink); line-height: 1; }
    .wf-meta-l { font-size: 0.72rem; color: var(--ink3); margin-top: 4px; font-weight: 500; }
    .wf-bar { height: 3px; border-radius: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
    .wf-bar-fill { height: 100%; background: var(--accent); width: 0%; }

    /* ── CTA ── */
    #cta { padding: 120px 0; }

    .cta-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      border-top: 1px solid var(--line);
      padding-top: 80px;
    }

    .cta-text .section-title { margin-bottom: 16px; }
    .cta-text p { font-size: 0.9rem; font-weight: 300; color: var(--ink3); line-height: 1.75; }

    .cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
    .cta-note { font-size: 0.78rem; color: var(--ink3); }

    /* ── FOOTER ── */
    footer {
      background: var(--ink);
      color: rgba(255,255,255,0.5);
      padding: 60px 0 32px;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .footer-brand .fl {
      font-family: var(--font-h);
      font-size: 1.1rem;
      color: white;
      display: inline-block;
      margin-bottom: 14px;
    }
    .footer-brand p { font-size: 0.82rem; line-height: 1.7; max-width: 240px; }

    .footer-col h4 {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      margin-bottom: 16px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
    .footer-col a:hover { color: white; }

    .footer-social { display: flex; gap: 8px; margin-top: 20px; }
    .s-btn {
      width: 32px; height: 32px;
      border-radius: 6px;
      border: 1px solid rgba(255,255,255,0.1);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.45);
      transition: border-color 0.2s, color 0.2s;
    }
    .s-btn:hover { border-color: rgba(255,255,255,0.3); color: white; }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 28px;
      font-size: 0.78rem;
      flex-wrap: wrap;
      gap: 12px;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 960px) {
      .hero-layout     { grid-template-columns: 1fr; }
      .hero-visual     { display: none; }
      .section-head    { grid-template-columns: 1fr; gap: 20px; }
      .features-grid   { grid-template-columns: 1fr 1fr; }
      .team-layout     { grid-template-columns: 1fr; gap: 40px; }
      .workflow-layout { grid-template-columns: 1fr; gap: 48px; }
      .cta-inner       { grid-template-columns: 1fr; gap: 40px; }
      .footer-top      { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
      .nav-links     { display: none; }
      .nav-cta-desk  { display: none; }
      .nav-mobile    { display: flex; }
      .features-grid { grid-template-columns: 1fr; }
      .team-grid     { grid-template-columns: 1fr 1fr; }
      .footer-top    { grid-template-columns: 1fr; }
    }