/* WVAI Solutions Custom Styles */

/* Farben anpassen */
:root {
    --wvai-black: #0b0b0b; /* Schwarz */
    --wvai-darkblue: #123972; /* Dunkeblau */
    --wvai-gray: #404042; /* Dunkelgrau */
    --wvai-lightblue: #81bbe1;    /* Hellblau */
    --wvai-blue: #3686cb; /* Blau */
    --wvai-white: #dce5ea; /* Hellgrau */
    --wvai-bg: #1d1d1d; /* Hintergrundfarbe */
    --wvai-darkbluetransparent: #123872b4; /* Dunkelblau mit Transparenz */
    --wvai-bluetransparent: #3685cba8; /* Blau mit Transparenz */
    --wvai-graytransparent: #404042b4; /* Dunkelgrau mit Transparenz */
    --wvai-buttonred: #b21414; /* Button Rot */
    --wvai-buttonhoverred: #b214148b; /* Button Hover Rot */

    --wvai-font: 'Inter', sans-serif; /* Schriftart */
    

  }
/* Allgemeine Stile */
body {
    font-family: var(--wvai-font);
    background-color: var(--wvai-bg);
    color: var(--wvai-schrift);
    margin: 0;
    padding: 0;
    line-height: 1.6;
} 
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
h1, h2, h3 {
    color: var(--wvai-darkblue);
}
section {
color: var(--wvai-white);
text-align: center;

}
h1 {
    color: var(--wvai-white);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 4rem;
    margin: 1rem;
    margin-bottom: 0.5rem;
}
h2 {
    color: var(--wvai-white);
    margin-bottom: 1rem;
    font-size: 3rem;
}
h3 {
    color: var(--wvai-white);
    margin-bottom: 1rem;
    font-size: 2rem;
}
/*Header und Navigation */
header {
    background-color: var(--wvai-white);
    color: var(--wvai-darkblue);
    padding: 1rem;
    text-align: center;
    display: flex;
    position: fixed;  /* Header immer oben */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;     /* Über dem Video */
}
#navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
}
#logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--wvai-darkblue);
}
.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a { 
   color: var(--wvai-darkblue);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.5rem;
}
.nav-links a:hover {
    color: var(--wvai-lightblue);
}
.nav-links a.active {
    color: var(--wvai-lightblue);
    font-weight: bold;
}
.logo img {
    height: 4rem;
    width: auto;
}
/* Sprachenumschalter */
.language-switcher {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 10;
  margin-right: 2rem;
  background-color: transparent;
  border: none;
}

#language-switcher {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 2rem;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  padding: 0;
  outline: none;
}

#language-switcher:focus {
  box-shadow: transparent
}
/*Video Hintergrund */
#bg-video {
  position: fixed;      /* fest im Hintergrund */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Video skaliert ohne Verzerrung */
  z-index: 0;           /* Hinter allem Content */
  pointer-events: none; /* Video blockiert keine Klicks */
}
.video-overlay {
  opacity: 0;
  transition: opacity 0.5s;
}
body.loaded .video-overlay {
  opacity: 1;
}
.hero {
  position: relative;   /* Overlay nur für Text */
  height: 100vh;        /* Hero-Sektion volle Höhe */
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-overlay {
  position: relative;   /* nur Text zentrieren, kein Video enthalten */
  z-index: 1;           /* Über Video */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}


/*About us Sektion */
#hero {
    color: var(--wvai-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.about {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 2rem auto;
    margin: 2rem;
    margin-bottom: 0rem;
    margin-top: 10rem;
}
.about-container p {
    text-decoration: none;
    font-weight: bold;
    margin-top: -2rem;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    color: var(--wvai-lightblue);
}
.about-container {
    text-align: top;
    margin-top: 9rem;
}
/* Container für drei Boxen */
.highlights-container {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex-wrap: wrap; /* wichtig für Responsivität */
  margin-top: 0rem;
  color: var(--wvai-black);
  margin-bottom: 15rem;
}

.highlights-container .box {
  flex: 1;
  min-width: 280px;
  background: var(--wvai-lightblue);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-top: 0rem;
}

.highlights-container .box:hover {
  transform: translateY(-5px);
}

.highlights-container h2 {
  margin-bottom: 1rem;
  color: var(--wvai-darkblue); /* Ihre Primärfarbe */
}

/*Welcome Page */
body#index {
    background-image: url(assets/bg_image.jpg);
}
#welcome {
    color: var(--wvai-lightblue);
    font-size: 4rem;
    margin-bottom: 0rem;
    text-align: center;
}
button#explore {
    background-color: var(--wvai-buttonred);
    color: var(--wvai-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.5rem;
    margin-bottom: 0rem;
}
button#explore:hover {
    background-color: var(--wvai-buttonhoverred);
}
#partner {
    color: var(--wvai-lightblue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0rem;
}

#intro {
    margin-top: 0.5rem;   /* kleiner Abstand zu Welcome */
    margin-bottom: 4rem;  /* größerer Abstand zu Services */
    color: var(--wvai-white);
}

/* What we offer*/

.tagline-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Spalten */
  gap: 2rem; /* gleicher Abstand zwischen allen Boxen */
  margin: 2.5rem 0;
  color: var(--wvai-white);
  /*margin-bottom: 10rem;*/
}

.tagline-item {
  background-color: var(--wvai-graytransparent);
  color: var(--wvai-white);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tagline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.tagline-item h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--wvai-white);
}

@media (max-width: 900px) {
  .tagline-boxes {
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
  }
}
@media (max-width: 600px) {
  .tagline-boxes {
    grid-template-columns: 1fr; /* 1 Spalte */
  }
}
/*Button Group */
#links {
  display: flex;
  justify-content: center; /* Links mittig nebeneinander */
  gap: 2.5rem;             /* Abstand zwischen Links */
  margin-top: 2rem;
  margin-bottom: 5rem;
  z-index: 2; /* Über dem Video */
}

.button-group {
  display: flex;
  justify-content: center; /* Buttons mittig nebeneinander */
  gap: 1.5rem;             /* Abstand zwischen Buttons */
  margin-top: 8rem;
  margin-bottom: 16rem;
  text-align: center; /* Zentriert den Text in der Gruppe */
  z-index: 2; /* Über dem Video */
}
.button-group .btn {
  min-width: 250px;    /* Mindestbreite für alle Buttons */
  max-width: 280px;    /* Optional: maximale Breite */
}
.btn {
  background-color: var(--wvai-buttonred);
  color: var(--wvai-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 1.5rem;
  margin-bottom: 0rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: var(--wvai-buttonhoverred);
  transform: translateY(-3px);
}

/*Pricing Page */
.pricing-section {
  text-align: center;
  padding: 40px 0;
}

.pricing-title {
    color: var(--wvai-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: 10rem;
}

.pricing-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-box {
  background: var(--wvai-lightblue);
  border: none;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  margin: 1.5rem;
}

.pricing-box h2 {
  margin-bottom: 10px;
  color: var(--wvai-darkblue);
}

.price {
  font-size: 2em;
  color: var(--wvai-darkblue);
  margin-bottom: 15px;
}

.pricing-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.pricing-box li {
  margin-bottom: 8px;
}

.pricing-btn {
  background: var(--wvai-buttonred);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pricing-btn:hover {
  background: var(--wvai-buttonhoverred);
}


/* Contact Page */

.contact-section {
  max-width: 470px;
  margin: 2rem auto;
  margin-top: 14rem;
  margin-bottom: 10rem;
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  box-sizing: border-box;
  text-align: center;
}

.contact-section h1 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 2em;
  color: var(--wvai-darkblue);
}

#contactForm label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: 6px;
  font-size: 1em;
  border: 1px solid var(--wvai-darkblue);
  background: #f9f9f9;
  display: block;
}

#contactForm textarea {
  min-height: 100px;
  resize: vertical;
}

#contactForm button {
  width: 100%;
  box-sizing: border-box;
  background: var(--wvai-buttonred);
  color: #fff;
  border: none;
  padding: 12px 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: block;
  margin-bottom: 1rem;
}

#contactForm button:hover {
  background: var(--wvai-buttonhoverred);
}

#formResponse {
  margin-top: 18px;
  text-align: center;
  font-weight: 500;
  color: green;
}


/* Footer */

footer {
    background-color: var(--wvai-white);
    color: var(--wvai-darkblue);
    text-align: center;
    padding: 1rem;
    position: relative; /* Footer immer unten */
    bottom: 0;
    width: 100%;
    z-index: 2; /* Über dem Video */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

footer p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  z-index: 2; /* Über dem Video */
}

.social-links a {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

/*Consulting Page */
#consult-section {
  max-width: 470px;
  margin: 10rem auto 10rem auto;
  padding: 32px 24px;
  border-radius: 12px;
  background: var(--wvai-white);
  box-sizing: border-box;
  text-align: center;
}

.calculator {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  transition: transform 0.3s;
  box-sizing: border-box;
}

#cons h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}
h2.cons {
  color: var(--wvai-darkblue);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin: 12px 0 5px;
  font-weight: 500;
  color: var(--wvai-darkblue);
}

input[type="number"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 18px;
  display: block;
}

input[type="number"]:focus {
  border-color: var(--wvai-darkblue);
  box-shadow: 0 0 10px rgba(67,100,247,0.3);
  outline: none;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 1rem;
}

.buttons button {
  width: 100%;
  max-width: 200px;
  box-sizing: border-box;
  background: var(--wvai-buttonred);
  color: #fff;
  border: none;
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s, transform 0.2s;
  margin: 0 auto;
  display: block;
}

.buttons button:hover {
  background: var(--wvai-buttonhoverred);
}

.result {
  margin-top: 25px;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  color: var(--wvai-darkblue);
  background: #f1f6ff;
  padding: 15px;
  border-radius: 10px;
}

@media (max-width: 500px) {
  .calculator {
    padding: 20px;
  }
}

/* Smartphone Anpassungen */
@media (max-width: 900px) {
  .tagline-boxes {
    flex-direction: column;
    gap: 2rem;
  }
  .tagline-item {
    width: 100%;
    margin-bottom: 2rem;
  }
  .button-group {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  header, .footer-container {
    padding: 1rem;
  }
  .angebot, h1, h2 {
    font-size: 1.3em;
  }
  .pricing-boxes {
    flex-direction: column;
    gap: 2rem;
  }
  .pricing-box {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  .calculator {
    padding: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-section {
    max-width: 98vw;
    margin: 2rem auto;
    margin-top: 8rem;
    margin-bottom: 4rem;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    background: #fff;
    text-align: center;
  }
  #contactForm input,
  #contactForm textarea,
  #contactForm button {
    width: 100%;
    min-width: unset;
    max-width: unset;
    margin: 0 auto 1rem auto;
    display: block;
    text-align: center;
    position: static;
  }
  #contactForm textarea {
    min-height: 80px;
  }
}

@media (max-width: 600px) {
  #welcome {
    font-size: 2.2rem;
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
  }
  button#explore {
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1rem auto;
    display: block;
  }
  #partner {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }
  #intro {
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  .tagline-boxes {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0 0.5rem;
  }
  .tagline-item {
    padding: 1rem;
    font-size: 1em;
  }
  .tagline-item h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  #links,
  .button-group {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  .btn, .button-group .btn {
    min-width: unset;
    max-width: unset;
    width: 100%;
    font-size: 1.1rem;
    padding: 0.8rem 0.5rem;
    margin: 0 auto;
    display: block;
  }
}
@media (max-width: 600px) {
  .tagline-boxes {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem auto;
    padding: 0 0.5rem;
    justify-items: center; /* Boxen mittig im Grid */
  }
  .tagline-item {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
    font-size: 1em;
    box-sizing: border-box;
  }
}

/* Burger-Menü nur auf Mobilgeräten */
.mobile-menu {
  display: block;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}

#burger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 100;
}

#burger span {
  display: block;
  width: 28px;
  height: 4px;
  background: var(--wvai-darkblue, #333);
  border-radius: 2px;
}
.mobile-dropdown {
  display: none;
  flex-direction: column;
  background: var(--wvai-white, #fff);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(18,57,114,0.15), 0 1.5px 8px rgba(67,100,247,0.09);
  position: absolute;
  top: 3.5rem;
  right: 0.5rem;
  min-width: 150px;
  padding: 1.2rem 1rem;
  gap: 1rem;
  animation: dropdownFadeIn 0.25s ease;
  border: 1px solid var(--wvai-lightblue);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-10px);}
  to   { opacity: 1; transform: translateY(0);}
}

.mobile-dropdown a {
  color: var(--wvai-darkblue, #123972);
  text-decoration: none;
  font-size: 1.15rem;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mobile-dropdown a:hover {
  background: transparent;
  color: var(--wvai-buttonred, #fff);
}

#language-switcher-mobile {
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  text-align: center;
  cursor: pointer;
  margin: 0 auto;
  background: transparent;
  border: none;
  appearance: none;         /* entfernt den Standard-Pfeil */
  -webkit-appearance: none; /* für Safari */
  -moz-appearance: none;    /* für Firefox */
  outline: none;
  padding: 0;
}

#language-switcher-mobile:focus {
  border-color: transparent;
}

@media (max-width: 900px) {
  .mobile-menu {
    display: block;
    position: fixed;      /* statt absolute */
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
  }
  .nav-links, .language-switcher {
    display: none !important;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero {
    height: auto;
    min-height: 60vh;
    padding: 2rem 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .contact-section {
    max-width: 90vw;
    margin: 2rem auto;
    margin-top: 8rem;
    margin-bottom: 4rem;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    background: #fff;
    text-align: center;
  }
  .con
  .video-overlay {
    padding: 1rem;
    font-size: 1.1em;
  }
  .angebot, h1, h2 {
    font-size: 2rem;
    padding: 1rem 0;
  }
  .tagline-boxes {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  .tagline-item {
    padding: 1rem;
    font-size: 1em;
  }
  .button-group {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .btn, .button-group .btn {
    min-width: unset;
    max-width: unset;
    width: 100%;
    font-size: 1.2rem;
    padding: 1rem;
  }
}