/*
================================================
WOHLSTANDSOPTIMIERUNG - CSS
================================================
*/

/* --- GRUNDLAGEN & VARIABLEN --- */
:root {
  --primary-blue: #00529b;
  --gradient-start: #2a79d3;
  --gradient-end: #0d2642;
  --dark-bg: #0b0f19;
  --light-text: #f8f9fa;
  --dark-text: #12161f;
  --section-bg-light: #f8f9fa;
  --border-color: #e2e8f0;
}

/* --- GLOBALE STILE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: var(--dark-text);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}
.container-wide {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
}

.navbar-container{
box-sizing: border-box;
align-items: flex-start;
padding: 0;
}

.section-padding {
  padding: 120px 0;
}

/* --- KONSISTENTER HEADER & FOOTER --- */
header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  width: 100vw;
  top: 0;
  left: 0;
  padding-left: 20px;
  padding-right: 50px;
  box-sizing: border-box;
}
.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
nav a {
  text-decoration: none;
  color: var(--light-text);
  margin-left: 40px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
    white-space: nowrap; 

}
nav#desktop-nav a {
  text-decoration: none;
  color: white; /* Angepasst für Hero-Hintergrund */
  margin-left: 40px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 0;
  position: relative;
}
nav#desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s;
}
nav#desktop-nav a:hover::after {
  width: 100%;
}

/* --- MOBILE NAVIGATION --- */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  color: white;
}
#mobile-nav {
  display: none;
}

/* --- HERO SECTION --- */
.hero-section {
  height: 90vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  /* NEUES BILD: Symbol für Analyse, Präzision, Optimierung */
  background: linear-gradient(rgba(11, 15, 25, 0.65), rgba(11, 15, 25, 0.65)),
    url("../images/WO_Theme.jpeg")
      no-repeat center center/cover;
  position: relative;
}
.hero-content {
  max-width: 900px;
  padding: 0 20px;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}
.btn-hero {
  padding: 15px 35px;
  background: white;
  color: var(--primary-blue);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid white;
  display: inline-block;
}
.btn-hero:hover {
  background: transparent;
  color: white;
}

/* --- INTRO SECTION --- */
.intro-section {
  background-color: #ffffff;
}
.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
}
.intro-text p {
  font-size: 1.1rem;
  color: #454d5d;
  margin-bottom: 20px;
}
.intro-text .highlight-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-blue);
}
.intro-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* --- PROCESS SECTION --- */
.process-section {
  background-color: var(--section-bg-light);
}
.center-title {
  text-align: center;
  margin-bottom: 80px;
}
.center-title .section-subtitle {
  font-size: 1.2rem;
  color: #454d5d;
  max-width: 700px;
  margin: 0 auto;
}
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 82, 155, 0.1);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  border-radius: 50%;
  margin-bottom: 25px;
}
.step-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}
.step-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.step-card p {
  font-size: 1rem;
  color: #454d5d;
  line-height: 1.6;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .content-grid {
    gap: 40px;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .hero-title {
    font-size: 3.5rem;
  }
}
@media (max-width: 992px) {
  .section-padding {
    padding: 80px 0;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .intro-text {
    order: 2;
    text-align: center;
  }
  .intro-image-wrapper {
    order: 1;
    max-width: 500px;
    margin: 0 auto 40px auto;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .cta-content h2 {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {

   .navbar {
    position: absolute;
  }

   .container {
    padding-inline: 16px;
  }


  .logo-img {
    height: 70px;
  }

  .container-wide {
    padding: 0 20px;
  }
  nav#desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
    z-index: 1002;
  }
  #mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 350ms ease-in-out;
    z-index: 1001;
  }
  #mobile-nav[data-visible] {
    transform: translateX(0%);
  }
  #mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }
  #mobile-nav nav a {
    font-size: 1.8rem;
    margin-left: 0;
    color: white;
  }
  .btn-mobile {
    padding: 12px 28px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2rem;
  }
}



@media (max-width: 1200px) {
    nav a {
      margin-left: 20px; 
      font-size: 0.9rem; 
      white-space: nowrap;
  }
}