/* RESET & BASICS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #fff;
  color: #000;
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
}

/* NAVIGATION */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  top: 10px;
}

.logo img {
  width: 80px;
  height: auto;
}

/* Linkgruppen (Desktop) */
.nav-group {
  display: flex;
  gap: 150px;
  margin-top: 30px;
}

.navbar a {
  text-decoration: none;
  color: #000;
  font-size: 1.3rem;
  font-weight: 500;
  transition: color 0.3s;
  
}

.navbar a:hover {
  color: #1a73e8;
}

.navbar a.active {
  color: #1a73e8;
  font-weight: bold;
}

/* Burger-Menü Button */
.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 2001;
}

.burger-toggle span {
  width: 25px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-toggle.active span:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menü */
.nav-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 2000
  ;
  transition: right 0.4s ease;
  padding-top: 120px;
  gap: 30px;
}

.nav-mobile.show {
  right: 0;
  display: flex;
}

.nav-mobile a {
  font-size: 1.4rem;
  color: #000;
  text-decoration: none;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1999;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}
/* HERO-BEREICH */
.hero {
  text-align: center;
  padding: 100px 90px 120px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  position: relative;
  z-index: 1;
  
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('./img/wadenmuster.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3; /* Hier steuerst du die Transparenz */
  height: 235%;
  z-index: 0;
}



.hero h1,
.hero .typing {
  position: relative;
  z-index: 2;
}

.typing {
  font-size: 1.2rem;
  line-height: 1.6;
  white-space: normal;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  height: auto;
  display: inline-block;
  position: relative;
}

.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: #000;
  margin-left: 4px;
  animation: blink 0.8s infinite;
  vertical-align: bottom;
}

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

/* Scroll-Down-Pfeil */
.scroll-down {
  display: inline-block;
  margin-top: 60px;
  font-size: 2rem;
  color: #000;
  animation: bounce 1.6s infinite;
  text-align: center;
  width: 100%;
  top: 30px;
  z-index: 1002;
  position: relative;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* SCROLL-REVEAL */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* PROZESS-BEREICH */
.process {
  margin-top: 100px;
  padding: 100px 20px 60px;
}

.line-decorator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 0;
  padding: 0 10px;
}

.line-decorator .line {
  height: 4px;
  background-color: #000;
  flex-grow: 1;
  margin: 0 10px;
  position: relative;
  top: 1px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #000;
  border-radius: 50%;
}

.line.with-steps {
  position: relative;
}

.step-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: #000;
  border-radius: 50%;
}

.step-dot:nth-child(1) { left: 25%; }
.step-dot:nth-child(2) { left: 50%; transform: translate(-50%, -50%); }
.step-dot:nth-child(3) { left: 75%; }

.process-steps {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
  padding: 0 20px;
}

.step {
  text-align: center;
  max-width: 200px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.step h3.blue {
  color: #1a73e8;
}

.step img {
  width: 90px;
  height: auto;
}
/* LÖSUNGSBEREICH */
.solution {
  position: relative;
  background-color: #f9f9f9;
  padding: 140px 40px 160px;
  overflow: hidden;
  min-height: 600px;
}

.solution-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  position: relative;
  flex-wrap: wrap;
  gap: 60px;
}

.solution-content {
  flex: 1 1 550px;
  z-index: 3;
  position: relative;
}

.solution h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.solution p.intro {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
}

.solution ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 40px;
}

.solution ul li {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1.3rem;
  font-weight: bold;
  background-color: #e4ecf9;
  color: #000;
  border-radius: 30px;
  border: 2px solid #a0b7d8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #cbdcfb;
  transform: scale(1.05);
}

/* GLOBUS kleiner & nur halb sichtbar */
.solution-globe {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.solution-globe img {
  position: absolute;
  right: -20%;
  top: 50%;
  transform: translateY(-50%);
  height: 80%;
  max-height: 600px;
  opacity: 0.08;
  object-fit: contain;
  clip-path: inset(0 50% 0 0);
}


/* WHY CONEAL */
.why-coneal {
  background-color: #fff;
  padding: 120px 40px 60px;
  text-align: center;
  margin-bottom: 0;
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.why-coneal h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.why-coneal .intro {
  font-size: 1.2rem;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.reason {
  flex: 1 1 280px;
  background-color: #f4f4f4;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.reason h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.reason p {
  font-size: 1.1rem;
}

/* KONTAKT */
.contact-section {
  padding: 60px 40px 120px;
  background-color: #f1f5f9;
  text-align: center;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.contact-intro {
  font-size: 1.2rem;
  margin-bottom: 60px;
  color: #333;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-block {
  flex: 1 1 200px;
}

.contact-block h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1a73e8;
}

.contact-block p,
.contact-block a {
  font-size: 1.05rem;
  color: #000;
  text-decoration: none;
}

.cta-button.small {
  padding: 12px 28px;
  font-size: 1.1rem;
}

/* FOOTER */
.main-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.main-footer a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
  font-size: 0.95rem;
}

.main-footer a:hover {
  color: #fff;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets & kleinere Laptops */
@media (max-width: 1024px) {
  .navbar {
    padding: 30px 30px 0;
  }

  .nav-group {
    gap: 30px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .typing {
    font-size: 1.1rem;
  }

  .solution-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .solution-globe {
    display: none;
  }

  .process-steps,
  .reasons,
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .step,
  .reason,
  .contact-block {
    max-width: 100%;
    text-align: center;
  }
}

/* Smartphones */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    position: relative;
  }
  .hero::before {
    height: 210%; ;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .burger-toggle {
    display: flex;
    position: static;
  }

  .logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
    transform: none;
    margin-right: 10px;
  }

  .logo img {
    width: 70px;
   margin-top: 20px;
   margin-right: 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .typing {
    font-size: 1rem;
  }

  .solution h2,
  .why-coneal h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .cta-button,
  .cta-button.small {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .main-footer p,
  .main-footer a {
    font-size: 0.85rem;
  }
  .process-steps
  {
    margin-top: 50px;
  }
  .process {
    margin-bottom: 20px;
  }

  .solution {
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: auto;
  }
  .solution {
    padding-top: 40px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .why-coneal {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 0;
  }
}

/* Kleine Smartphones */
@media (max-width: 600px) {
  .hero {
    padding: 40px 20px;
    height: auto;
  }
  .process {
    margin-bottom: 20px;
  }

  .solution {
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: auto;
  }
  .scroll-down {
    font-size: 1.4rem;
    margin-top: 20px;
  }

  .process {
    margin-top: 60px;
    padding: 30px 15px 40px;
  }

  .solution p.intro,
  .solution ul li {
    font-size: 1rem;
  }

  .reason h3 {
    font-size: 1.2rem;
  }

  .reason p {
    font-size: 1rem;
  }

  .contact-block h3 {
    font-size: 1.1rem;
  }

  .contact-block p,
  .contact-block a {
    font-size: 1rem;
  }

  .cta-button.small {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  .main-footer p,
  .main-footer a {
    font-size: 0.8rem;
  }
  .solution {
    padding-top: 40px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .why-coneal {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 0;
  }
}
section {
  scroll-margin-top: 80px;
}

.process,
.solution,
.why-coneal,
.contact-section {
  margin-top: 60px;
}

.why-coneal {
  padding-bottom: 40px;
  margin-bottom: 0;
}

.contact-section {
  padding-top: 40px;
}

@media (max-width: 2000px) {

  .step-dot {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
  }
  
  .step-dot:nth-child(1) { left: 25%; }
  .step-dot:nth-child(2) { left: 50%; transform: translate(-50%, -50%); }
  .step-dot:nth-child(3) { left: 75%; }
  
  .process-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0px 20px;
  }
  
  .step {
    text-align: center;
    max-width: 200px;
  }
  
  .step h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .step h3.blue {
    color: #1a73e8;
  }
  
  .step img {
    width: 90px;
    height: auto;
  }
.process {
margin-top: 20px;
}
}


@media (min-width: 2000px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('./img/wadenmuster.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; /* Hier steuerst du die Transparenz */
    height: 265%;
    z-index: 0;
  }
  
}