/* Allgemein */

hr{
    color: black;
}

body{
    color: black;
    background-color: var(--div-color);
    z-index: 1;
    overflow-x: hidden;
}

h1{
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}

section{
    color: black;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

figcaption{
    color: black; font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.btn {
  background-color: var(--accent-color);
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  height: 45px;
  padding: 0px 20px;
  margin-top: 2rem;
  touch-action: manipulation;
  transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.btn:hover,
.btn:focus { 
  background-color: var(--background-color);
}

.btn a{
    color: #fff;
    text-decoration: none;
}


/* Navigation */

nav{
    z-index: 10;
    height: 80px;
    background: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo{
    margin-left: 30px;
    font-family: Arial, Helvetica, sans-serif; font-size: 35px;
    font-variant: small-caps;
    text-decoration: none;
    color: var(--text-color);
}

nav ul{
    height: 100%;
    display: flex; 
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin-right: 200px;
}

nav ul li{
    width: 200px;
    text-align: center;
    position: relative;
    margin-right: 5px;
    padding: 10px;
    z-index: 10;
}

nav li:hover{
    background: var(--accent-color);
}

nav ul li a{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
}

.dropdown{
    z-index: 2;
    height: min-content;
    width: 200px;
    background: var(--background-color);
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 65px;
}

.dropdown li{
    z-index: 2;
    height: 70px;
    width: 100%;
}

.dropdown li a{
    justify-content: flex-start;
    padding-left: 30px;
    text-align: left;
    width: calc(100% - 30px);
}

nav li:hover .dropdown{
    display: flex;
}

.expandable_li{
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle_button{
    width: 30px;
    height: 23px;
    position: absolute;
    top: 25px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar{
    height: 4px;
    width: 100%;
    background: var(--text-color);
    border-radius: 100px;
}



/* Hero */

.hero-section{
    color:#000;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero h3{
    margin-top: 20px;
    margin-right: 41%;
    font-size: 2rem; font-family: 'Times New Roman', Times, serif;
    margin-bottom: 0.5rem;
} 

.hero .text{
    width: 40%;
    margin-right: 12%;
    line-height: 1.3rem;
}
.hero .text p{
    text-align: justify;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

.hero-btn{
    margin-right: 40%;
}

.hero-img{
    position: absolute;
    top: 30px;
    left: 45%;
    width: 100%;
    height: 100%;
    z-index: 4;
}

/* Über uns */

.ueber-uns-section{
    position: relative;
    margin-top: 4rem;
    background-color: var(--background-color);
    color: #fff;
    padding: 2rem;
}

.ueber-uns-img{
    position: absolute;
    top: -80px;
    left: 100;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.ueber-uns .text{
    width: 40%;
    margin-left: 50%;
    line-height: 1.3rem;
    text-align: left;
    z-index: 5;
    position: relative;
}

.ueber-uns h2{
text-transform: uppercase;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: var(--accent-color) 5px 4px 0;
  margin-bottom: 1.5rem;
}

/* Produkte */

.produkt-section{
    position: relative;
    background-color: var(--darker-background-color);
    color: #fff;
    padding: 4rem;
    text-align: center;
}

.produkt h2{
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-size: 40px;
    letter-spacing: 4px;
}

.features{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature{
    width: 25%;
    background-color: var(--div-color);
    color: #000;
    padding: 20px;
    box-shadow: 0px 0px 0px 10px var(--div-color);
    border: dashed 2px var(--darker-background-color);
}

.kreis {
    background: var(--background-color);
    color: #fff;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    vertical-align: middle;
    box-shadow: 0px 0px 0px 5px var(--background-color);
    border: dashed 1px var(--accent-color);
    transition: .4s;
    padding: 5px;
    margin: 30px 40px;
    font-size: 15px;
}

.kreis:hover{
    background: var(--design-color);
    box-shadow: 0px 0px 0px 5px var(--design-color);
    border: dashed 1px var(--background-color);
}


.mehr-erfahren{
    color: var(--design-color);
    text-decoration: none;
    padding-top: 1.5rem;
}

/* Was wir tun */

.was-tun-section{
    position: relative;
    background-color: var(--accent-color);
    color: #fff;
    padding: 4rem;
    text-align: center;
}       

.was-tun h2{
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 4rem;
    }

.was-tun-features{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    
.was-tun-feature{
    width: 25%;
    background-color: var(--darker-background-color);
    color: rgb(255, 255, 255);
    padding: 20px;
}

.was-tun-feature h3{
    font-size: 30px;
    margin-bottom: 1.5rem;
}

.was-tun-feature p{
    font-size: 20px;
}

.icon{
    background-color: var(--design-color);
    padding: 5px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: block;
}

/* Kontakt */

.kontakt-section{
    padding-top: 3rem;
    text-align: center;
    background-image: url(../img/background_kontakt.svg);
    background-size: cover;
    padding-bottom: 5rem;
}

.kontakt h2{
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 4px;
    line-height: 1;
    text-shadow: var(--accent-color) 3px 2px 0;
    margin-bottom: 1.5rem;
}

.formular{
    width: 40%;
    margin-left: 30%;
    text-align: left;
    background-color: var(--accent-color);
    padding: 20px;
}

.form-field{
    width: 100%;
}

.formular label{
    font-size: small;
}

.form-btn,
.capbox{
    background-color: var(--div-color);
    color: var(--background-color);
}

.form-btn:hover,
.form-btn:focus { 
  background-color: var(--darker-background-color);
  color: var(--text-color)
}

.capbox{
    padding: 10px;
    width: 350px;
}

/* Mitarbeiter */

.mitarbeiter-section{
    background-color: var(--background-color);
    color: #fff;
    padding: 4rem;
    box-shadow: 0px 0px 0px 20px var(--background-color);
    border-top: dashed 2px var(--div-color);
    border-bottom: dashed 2px var(--div-color);
    margin-bottom: 20px;
}

.mitarbeiter-div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mitarbeiter h2{
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 4rem;
}

.person{
    width: 25%;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
    background-color: var(--div-color);
    overflow: hidden;
    position: relative;
    height: 100%;
    margin-left: 10%;
}

.person img{
    width:100%;
    border-radius: 10px 10px 0 0;
}


.person-link{
    width: 40%;
    margin-left: 10%;
}

.ansprechpartner{
    font-size:30px;
    color: var(--design-color);
    font-weight: 600;
    letter-spacing: 3px;
}

/* Gründe */

.grund-section{
    background-color:var(--accent-color);
    padding: 5rem 2rem;
}

.grund h2{
    text-decoration: underline dashed var(--div-color);
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-size: 40px;
    letter-spacing: 4px;
}


.slides{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide{
    background: var(--div-color);
    color: var(--design-color);
    width: 80%;
    height: 200px;
    display: inline;
    margin-bottom: 4rem;
    margin-left: 2rem;
    padding: 30px;
  }

  .s1 {
    background-color: var(--darker-background-color);
    color: var(--div-color);
  }

  .triangel{
    width: 0;
    height: 0;
    border-top: 130px solid transparent;
    border-left: 100px solid var(--div-color);
    border-bottom: 130px solid transparent;
    display: inline;
    margin-right: 7rem;
    margin-bottom: 4rem;
}

.t1{
    border-left: 100px solid var(--darker-background-color);
}

.slide p{
    font-size: 15px;
    font-weight: 600;
}

.headline{
    font-size: 25px;
}



/* Abschluss */

/*#wave {
    position: relative;
    height: 200px;
    width: 100%;
    background: var(--accent-color)
  }
  
#wave:before {
    content: "";
    display: block;
    position: absolute;
    border-radius: 100% 50%;
    width: 61%;
    height: 250px;
    background-color: #eee;
    right: -5%;
    top: 90px;
    z-index: 3;
}
  
#wave:after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 100% 50%;
    width: 61%;
    height: 250px;
    background-color: var(--accent-color);
    left: -5%;
    top: 10px;
    z-index: 2;
} */

.schluss-section{
    background-color: var(--div-color);
    height: 50vh;
    background-image: url(../img/background_schluss.svg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 12rem;
}

.schluss{
    position: relative;
}

.slogan{
    z-index: 5;
    width: 30%;
    margin-left: 70%;
    position: relative;
}

.schluss-img{
    position: absolute;
    top:-200;
    left:80;
    z-index: 4;
    width: 80%;
}

/* Footer */

.footer{
    background-color: #244832;
    color: #eee;
    padding: 1rem 3rem;
}

.footer a{
    color: var(--div-color);
    text-decoration: none;
    display: inline;
    margin-right: 2rem;
}

.footerlinks{
    float: right
}


/* Footer Unterseiten */

.info{
    padding: 100px;
}

.info h1{
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.3rem;
    text-decoration: underline;
}


.hero-section-mobile,
    .ueber-uns-section-mobile,
    .produkt-section-mobile,
    .was-tun-section-mobile,
    .kontakt-section-mobile,
    .mitarbeiter-section-mobile,
    .grund-section-mobile,
    .schluss-section-mobile{
        display: none;
    }




:root{
    --background-color: #31533e;
    --darker-background-color: #244832;
    --accent-color: #86a385;
    --text-color: #FFFFFF;
    --design-color: #70bb00;
    --div-color: #eeed;
}
    
*{
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7rem;
}

    

/* Mobile Anpassung */

@media screen and (max-width:1300px){
    .hero-section,
    .ueber-uns-section,
    .produkt-section,
    .was-tun-section,
    .kontakt-section,
    .mitarbeiter-section,
    .grund-section,
    .schluss-section{
        display: none;
    }

    .hero-section-mobile,
    .ueber-uns-section-mobile,
    .produkt-section-mobile,
    .was-tun-section-mobile,
    .kontakt-section-mobile,
    .mitarbeiter-section-mobile,
    .grund-section-mobile,
    .schluss-section-mobile{
        display: block;
    }
}



body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

#chat-button-wrapper {
  position: fixed;
  bottom: 140px;
  right: 140px;
  width: 320px;
  z-index: 1000;
}

#chat-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-button img {
  width: 200px;
  height: auto;
}

.chat-hint {
  position: absolute;
  bottom: 95%;
  right: -30px;
  margin-bottom: 12px;
  background-color: #eae7fb;
  color: #0f172a;
  padding: 12px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 18px;
  white-space: nowrap;
  animation: fadeOut 30s forwards;
  pointer-events: none;
   border: 2px solid #223851;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  30% { opacity: 1; }
  50% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.chat-popup {
  position: fixed;
  bottom: 120px;
  right: 200px;
  width: 435px;
  height: 600px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  background-color: #e5eaf1;
  backdrop-filter: blur(5px);
  border: 1px solid #2e4d70;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color:#b8b0e6;
  padding: 12px 16px;
  border-bottom: 1px solid #ffffff;
  border-radius: 10px 10px 0 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
}

.chat-title {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  font-size: 22px;
  color: rgb(0, 0, 0);
}

.chat-subtitle {
  font-size: 12px;
  color: #e0e7ff;
  margin-top: 2px;
}

.logo {
  height: 32px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: #ef4444;
}

.chat-box {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px;
  background: #dedde6;
}

.user-message {
  background-color: #006eff;
  color: #ffffff;
  font-weight: bold;
  padding: 12px 16px;
  margin: 8px 0;
  border-radius: 10px;
  text-align: right;
  max-width: 75%;
  margin-left: auto;
  font-size: 18px;
}

.bot-message {
  background-color: #ffffff;
  color: #0f172a;
  font-weight: normal;
  padding: 12px 16px;
  margin: 8px 0;
  border-radius: 10px;
  text-align: left;
  max-width: 75%;
  margin-right: auto;
  font-size: 20px;
}

.chat-input-container {
  display: flex;
  padding: 6px;
  border-radius: 0 0 10px 10px;
  background-color: #c4bee8;
  border-top: 1px solid #d3dae4;
}

.chat-input-container input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  margin-right: 10px;
}

.chat-input-container button {
  padding: 10px 15px;
  background-color: #2563eb;
  color: white;
  font-size: 18px;
  border:none;
  border-radius: 6px;
  cursor: pointer;
}

.chat-input-container button:hover {
  background-color: #1e40af;
}

.end-btn {
  background-color: #ef4444;
  color: rgb(255, 255, 255);
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.end-btn:hover {
  background-color: #e05353;
}

.hidden {
  display: none;
}

@media screen and (max-width: 768px) {
  .chat-popup {
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }

  .chat-box {
    padding: 12px;
  }

  .chat-input-container input {
    font-size: 16px;
  }

  .user-message,
  .bot-message {
    font-size: 16px;
    max-width: 90%;
  }

  .chat-hint {
    display: none; 
}

@media screen and (max-width: 480px) {
  .chat-header {
    padding: 8px 10px;
  }

  .chat-title {
    font-size: 18px;
  }

  .close-btn {
    font-size: 22px;
  }

  .chat-input-container button {
    padding: 8px 10px;
    font-size: 14px;
  }
}
}