/* Allgemein */

.bg-blue{
  color: white;
  background-color: #1e3d6b;
}

h1 {
	text-align: center;
	margin-bottom: 6rem;
  transition: 0.5s;
  text-decoration: underline;
}

h2 {
	text-align: center;
  margin-bottom: 6rem;
  transition: 0.5s;
  position: relative;
}

h2:hover{
  color: #0d47a1;
}

h3 {
  margin-bottom: 3rem;
}

h4{
	margin-bottom: 2.5rem;
}

button a{
	text-decoration: none;
	cursor: pointer;
	font-size: 1.5rem;
	color: inherit;
}

.btn-p{
	margin-top: 5rem;
	text-align: center;
}

.btn-blue{
  background-color: #0d47a1;
  color: white;
  transition: 0.7s;
}

.btn-blue:hover{
  background-color:#212529;
  color: white;
}

.btn-blue a:hover{
  color: white;
}

.btn-black{
  background-color: #212529;
  color: white;
  transition: 0.7s;
}

.btn-black:hover{
  background-color: #0d47a1;
  color: white;
}

.btn-black a:hover{
  color: white;
}

.main{
	margin-top: 5rem;
  overflow: hidden;
}

.line{
  width: 0px;
  border-right: solid 1px grey;
}

.center{
  text-align: center;
}

/* Hero */

.hero{

  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(13, 71, 161, 0.8)), url("../img/hero.jpg");
  height: 70%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.hero-button {
	border: none;
    outline: 0;
    display: inline-block;
    padding: 10px 25px;
    color: black;
    background-color: #ddd;
    text-align: center;
    cursor: pointer;
    font-size: 17px;
    margin-top: 6px;
	box-shadow: 5px 5px black;
}

/* About */

.about{
  opacity: 0;
  animation: fadeUp 1s forwards;
  animation-delay: 0.5s;
  padding-top: 5%;
  min-height: 70vh;
}

/* Service & Produkte */

.service,
.produkt{
	width: 100%;
	padding: 50px 30px;
	margin-top: 70px;
}

.service{
	background-color: #e3e1e8;
}

.section-service,
.section-produkt{
	border-bottom: solid 2px #0d47a1;
	text-align: center;
	padding: 20px 10px;
  margin: auto;
  margin-bottom: 1.5rem;
}

.section-service{
	background-color: white;
  transition: 0.5s;
  min-height: 500px;
}

.section-produkt{
	background-color: #e3e1e8;
  min-height: 650px;
}

.section-service p,
.section-produkt p{
	line-height: 1.5rem;
	margin-bottom: 1rem;
  font-size: 1.1rem;
}

.service-icon{
  font-size: 5rem;
}

.section-service:hover{
  color: #0d47a1;
}

.service-link,
.produkt-link{
  color:inherit;
  text-decoration: none;
}

/* Kontakt */

.kontakt{
  background-color: #0d47a1;
  padding-top: 10%;
  min-height: 100vh;
  color: white;
  text-align: center;
  font-size: 1.5rem;
}

.kontakt h2:hover,
.part-blue h2:hover{
  color: 212529;
}

.kontakt-img{
  border: dashed 2px white;
  border-radius: 20%;
  margin-top: -1rem;
}

/* Karriere */

.job {
	margin-bottom: 5rem;
	width: 100%;
	padding-bottom: 5rem;
}

.grey{
	background-color: #e3e1e8;
	padding-top: 5rem;
}

.blue{
	background-color: #0d47a1;
  color: white;
	padding-top: 5rem;
}

.job .btn-black:hover{
  background-color: #e3e1e8;
  color: #0d47a1;
}

.job .btn-black a:hover{
  color: #0d47a1;
}

.karriere{
  padding-top: 5%;
  min-height: 60vh;
}

.karriere-bg{
	background-image: url("../img/bg1.jpg");
	min-height: 100vh;
	padding-bottom: 2rem;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.puffer {
	height: 5rem;
}

/* Fernwartung */

.fernwartung{
  background-color: #e3e1e8;
  padding-top: 10%;
  min-height: 100vh;
}

.download-area{
  width:35%;
}


/* Partner */

.partner-div{
  display: flex;
  gap: 30px;
  margin: 50px 0 50px 0;
  align-items: center;
  justify-content: center;
}

.partner-img{
  width:auto;
}


/* Subpage Service */

.part{
  padding-bottom: 80px;
  padding-top: 80px;
}

.part-blue{
  background-color: #0d47a1;
  color: white;
}

.part-gray{
  background-color: #e3e1e8;
}


/* Back to Top */

.top{
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
}

.top-btn{
  border: 1px solid black;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: black;
}


/* Footer */

footer{
  padding: 20px;
  height: 60px;
}

footer a{
  color: white;
  padding: 0 10px;
}

.left{
  float: left;
}

.right{
  float: right;
}

/* Animations */

@keyframes fadeUp {
  0%{
    transform: translateY(4rem);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}
/* ----------------------------------------------
 * Generated by Animista on 2021-6-23 14:53:56
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

.slide-fwd-center{animation:slide-fwd-center .45s cubic-bezier(.25,.46,.45,.94) both}

@keyframes slide-fwd-center{0%{transform:translateZ(0)}100%{transform:translateZ(160px)}}


/*!
 * jQuery Cookiebar Plugin
 * https://github.com/carlwoodhouse/jquery.cookieBar
 *
 * Copyright 2012, Carl Woodhouse
 * Disclaimer: if you still get fined for not complying with the eu cookielaw, it's not our fault.
 */
 
 .cookie-message {
	position:fixed;
    bottom:0; *bottom:-2px; left:0px;
    padding:20px;
    background:#fff;
    border-bottom:1px solid #ccc;
    box-shadow:0px 0px 3px #ccc;
    z-index: 99;
	width: 100%;
  }
  .cookie-message a {
    position:fixed;
    bottom:0; *bottom:-2px; right:20px;
    cursor:pointer;
  }
  .cookie-message p, .cookie-message a {
    color:#333;
    font-family : Verdana, Switzerland, Helvetica, sans-serif;
    font-size: 90%;
    margin:0.6em 0;
  }
  .blue {
    border-bottom:1px solid #005CA9;
    background-color:#005CA9;
    background: #005CA9;
  }
  .blue p, .blue a { color:#fff; }


/* Anpassungen für Chatbot*/


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

#chat-button-wrapper {
  position: fixed;
  bottom: 100px;
  right: 50px;
  width: 250px;
  z-index: 1000;
  background-color: white;
  border-radius: 50%;
}

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

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

.chat-hint {
  position: absolute;
  bottom: 80%;
  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;
}

.chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #2a3a63; 
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.chat-toggle:hover {
  transform: scale(1.05);
}

.chat-toggle img {
  width: 28px;
  height: 28px;
}


@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;
  }
}
}

  @media only screen and (max-width: 600px) {
  .chat-toggle {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #2a3a63; 
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
  }
}

