/* Definieren von Farbvariablen für ein konsistentes Design */
:root {
  --primary-color: #7f00ff; /* Blau als Primärfarbe */
  --secondary-color: #ffffff; /* Weiß */
  --accent-color: #ff4500; /* Akzentfarbe OrangeRot (falls benötigt) */
  --text-color: #333333; /* Dunkles Grau für Text */
  --background-color: #f5f5f5; /* Helles Grau für Hintergründe */
  --header-background-color: var(--primary-color);
  --footer-background-color: #222222; /* Dunkles Grau für den Footer */
  --button-hover-color: #1c86ee; /* Etwas dunkleres Blau für Hover-Effekte */
}

/* Globales Styling */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  width: 100%;
  font-family: "Rubik", sans-serif; /* Aktualisierte Schriftart */
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Header */
.header {
  padding: 15px;
  box-shadow: 0 3px rgba(0, 0, 0, 0.1);
  background-color: var(--header-background-color);
}

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

.header .logo {
  width: 40px;
}

.menu-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 3px;
  position: relative;
  cursor: pointer;
}
.menu-container #language-svg {
  margin: 0;
}

.menu-container #language-svg .language-menu {
}

.header .menu-container .language-container .language-menu {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: var(--secondary-color);
  min-width: 99px;
  right: 44px;
  top: calc(100% + 6px);
  z-index: 1;
  border-radius: 10px;
  display: none;
}

.header .menu-container .language-container .language-menu.visible {
  display: block;
}

.header .menu-container .language-container ul .lang-option > div {
  padding: 8px;
  width: 130px;
}
.header .menu-container .language-container ul li:not(:last-child) > div {
  border-bottom: 1px solid #ccc;
}

.header .menu-container .language-container ul li div {
  display: flex;
  gap: 5px;
  justify-content: flex-start;
  flex-wrap: wrap;
  cursor: pointer;
}

.header .menu-container .language-container ul .lang-option .lang-img {
  width: 40px;
  height: 25px;
}

.header .menu-container .language-container ul::before {
  content: "";
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--secondary-color) transparent;
  position: absolute;
  right: 8px;
  top: -20px;
}

.header .links {
  position: relative;
}

.header .links .menuIcon {
  width: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  cursor: pointer;
}

.header .links .menuIcon span {
  background-color: var(--secondary-color);
  margin-bottom: 8px;
  height: 2px;
}

.header .links .menuIcon span:first-child {
  width: 100%;
}
.header .links .menuIcon span:nth-child(2) {
  width: 60%;
  transition: 0.3s;
}
.header .links .menuIcon span:last-child {
  width: 100%;
  margin-bottom: 8px;
}
.header .links .menuIcon:hover span:nth-child(2) {
  width: 100%;
}

.header .links .menu {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: var(--secondary-color);
  min-width: 200px;
  right: -6px;
  top: calc(100% + 6px);
  z-index: 1;
  border-radius: 10px;
  display: none;
}

.header .links ul.visible {
  display: block;
}

.header .links ul::before {
  content: "";
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--secondary-color) transparent;
  position: absolute;
  right: 8px;
  top: -20px;
}

.header .links ul li a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: var(--text-color);
  transition: 0.6s;
  opacity: 0.8;
}

.header .links ul li a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.header .links ul li a span {
  display: inline-block;
  transition: all 0.6s;
  position: relative;
  left: 0;
}
.header .links ul li a:hover span {
  opacity: 1;
  transform: scale(1.2);
  left: 50%;
  transform: translateX(-50%);
}

.header .links ul li:not(:last-child) a {
  border-bottom: 1px solid #ccc;
}

/* Hero-Bereich */
.hero {
  min-height: calc(100vh - 70px);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(images/main-img02.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--secondary-color);

  overflow: hidden;
  opacity: 1;
}

.content {
  margin-top: 35vh;
  color: var(--secondary-color);
  padding: 0.8rem;
  text-align: center;
  z-index: 2;
}

h1,
p {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2.4rem;
}

.flow > * + * {
  margin-top: 0.4rem;
}

/* Sub-Section */
.sub-section {
  display: flow-root;
  font-size: 1em;
  background-color: var(--background-color);
}

.sub-header {
  width: 100%;
  min-height: 15vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-window {
  min-height: 70vh;
  margin: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/css/images/sub-photo02.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--secondary-color);
  display: grid;
  grid-template-rows: 60px 1fr 80px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 10px;
}

.sub-content-container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 5px;
  padding-right: 5px;
  width: 300px;
  display: flex;
}

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

.sub-question {
  width: 100%;
  margin-bottom: 15px;
}

.sub-question > p {
  font-size: 1.4em;
}

.sub-options {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
}

.sub-option {
  border-radius: 5px;
  /* border: 3px solid var(--primary-color); */
  border: 3px solid var(--secondary-color);
  padding: 10px;
  margin-top: 15px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(30, 144, 255, 0.2);
  position: relative;
  cursor: pointer;
}

.sub-option .letter {
  font-size: smaller;
  display: inline-block;
  border: 2px solid var(--primary-color);
  border-radius: 2px;
  padding: 3px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.blink {
  animation: blink 1.5s;
}

@keyframes blink {
  100% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}

.sub-option p {
  display: inline-block;
  transition: 2s;
  flex-grow: 1;
  position: relative;
}

.sub-option .check {
  color: var(--primary-color);
  font-size: 1.2em;
  visibility: hidden;
}

.sub-option:hover .check {
  visibility: visible;
}

.sub-option.active .check {
  visibility: visible;
}

.sub-option.active {
  transform: scale(1.05);
}

.input-field {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.input-field label {
  font-size: 1em;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.input-field input {
  padding: 8px;
  font-size: 1em;
  border-radius: 5px;
  border: 2px solid var(--primary-color);
}

.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
  width: 100%;
  margin: auto;
}

.button {
  padding: 10px 20px;
  font-size: 1.2em;
  border-radius: 5px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  cursor: pointer;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  font-size: 1.5em;
  position: relative;
}

.button:hover {
  background-color: var(--button-hover-color);
}

.details {
  margin: auto;
  margin-top: 15px;
  gap: 8px;
  width: 290px;
  align-items: center;
}

.details textarea {
  width: 290px;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
}

.errorLabel {
  color: red;
  font-size: 1.2em;
  margin-top: 15px;
}

/* Steps Section */
.steps-content {
  padding: 20px;
  background-color: var(--background-color);
  display: flex;
  flex-flow: row wrap;
  gap: 5%;
  justify-content: space-evenly;
  color: var(--text-color);
}

.steps-content .step {
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 20px;
  background-color: var(--secondary-color);
  padding: 10px;
  text-align: center;
  width: 300px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  color: rgba(0, 0, 0, 0.05);
  z-index: 0;
}

#step01::before {
  content: "1";
}

#step02::before {
  content: "2";
}

#step03::before {
  content: "3";
}

.steps-content .step h3 {
  font-weight: 800;
  margin: 30px 0 15px;
  color: var(--primary-color);
}

.steps-content .step p {
  line-height: 1.6;
  color: var(--text-color);
}

/* Clients Section */
.clients {
  background-color: var(--background-color);
}

.clients .clients-containt {
  display: flex;
  flex-flow: row wrap;
  gap: 5%;
  justify-content: center;
  padding: 20px;
}

.clients .clients-containt .card {
  color: var(--text-color);
  width: 300px;
  margin-bottom: 60px;
  margin-top: 60px;
  border-radius: 15px;
  background-color: var(--secondary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.clients .clients-containt .card img {
  width: 300px;
  height: 280px;
  max-width: 100%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.clients .clients-containt .card .text {
  padding: 20px;
}

/* Video Content */
.background-video-container {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  z-index: -1;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-content h3 {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  text-align: center;
}
/* results Content */
.motivation {
  display: flow-root;
  padding-top: 30px;
  padding-bottom: 20px;
  background-color: var(--text-color);
  color: white;
}
.photo-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  width: 100%;
  height: 400px;
  max-width: 100%;
  margin-bottom: 20px;
  flex-grow: 1;
}

.motivation .photos {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  animation: scroll 10s linear infinite;

  gap: 20px;
  padding: 20px 0 20px 0;
}

.motivation .photos img {
  box-shadow: 0px 0px 6px 7px rgba(0, 0, 0, 0.2);
  height: 100%;
  flex-shrink: 0;
  border-radius: 12px;
}

.motivation .text-overlay {
  text-align: justify;
  padding: 30px 20px 30px 20px;
  font-weight: 500;
  font-size: 1.5em;
  line-height: 1.6em;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-85%);
  }
}

/* about me*/
.about-me {
  padding-top: 40px;
}
.about-me .about-me-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
}

.about-me .about-me-content img {
  border-radius: 15px;
  width: 300px;
  height: 400px;
  max-width: 100%;
  box-shadow: -4px 5px 6px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  flex-grow: 1;
}

.about-me .about-me-content .text {
  padding: 30px;
}
.about-me .about-me-content .text h3 {
  color: var(--primary-color);
}

.about-me .about-me-content .text p {
  line-height: 1.5em;
}
/* Footer */
.site-footer {
  background-color: var(--footer-background-color);
  color: var(--secondary-color);
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-email {
  flex: 1 1 100%;
  text-align: center;
  margin-bottom: 20px;
}

.footer-email h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-email .email {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.footer-socials {
  flex: 1 1 auto;
  text-align: center;
}

.footer-socials a {
  color: var(--secondary-color);
  text-decoration: none;
  margin: 0 10px;
}

.footer-socials a:hover {
  color: var(--primary-color);
}

.footer-credits {
  flex: 1 1 100%;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 20px;
  color: #aaa;
}

/* Responsive Design */
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
#email {
  font-size: 1.2em;
}

/* Kleine Bildschirme */
@media (min-width: 768px) {
  .clients .clients-containt .card {
    width: 400px;
  }
  .clients .clients-containt .card img {
    width: 400px;
    height: 380px;
  }
  .steps-content .step {
    width: 400px;
  }
  .container {
    width: 750px;
  }
  .sub-content-container {
    width: 400px;
  }
  .details textarea,
  .details {
    width: 390px;
  }
  .sub-section {
    min-height: calc(100vh - 70px);
  }
  .sub-window {
    min-height: calc(82vh - 70px);
  }
}

/* Mittlere Bildschirme */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
  .sub-content-container {
    width: 500px;
  }
  .details textarea,
  .details {
    width: 490px;
  }
  .sub-section {
    min-height: calc(100vh - 55px);
  }
  .about-me .about-me-content {
    flex-direction: row;
  }
}

/* Große Bildschirme */
@media (min-width: 1200px) {
  /* .hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(images/sub-photo.jpg);
  } */
  .only-smartphone {
    display: none;
  }
  .clients {
    background-color: var(--text-color);
  }
  .container {
    width: 1170px;
  }
  .sub-content-container {
    width: 600px;
  }
  .sub-window {
    min-height: calc(82vh - 55px);
  }
  .details textarea,
  .details {
    width: 590px;
  }
}
