/* 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: 1001;
}

.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: 1000;
  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: 999;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}
/* 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);
}

/* 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;
  }
.contact-info {
    flex-direction: column;
    align-items: center;
  }

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

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

.contact-section h2 {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
    white-space: nowrap;
  }
}

/* Kleine Smartphones */
@media (max-width: 600px) {
  .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;
    }
  }
  .contact-section {
    margin-top: 60px;
  }
  .contact-section {
    padding-top: 40px;
  }
  .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%;
  }
  /* === HERO-BEREICH === */
.hero-leistungen {
  text-align: center;
  padding: 120px 20px 80px;
  background-color: #ffffff;
}

.hero-leistungen h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

.hero-leistungen p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #444;
  line-height: 1.6;
}

/* === ICON-CARDS BEREICH === */
.leistungen-icons {
  padding: 80px 20px;
  background-color: #f7f9fb;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.leistung-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leistung-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.leistung-card .icon {
  margin-bottom: 20px;
}

.leistung-card .icon img {
  width: 60px;
  height: auto;
}

.leistung-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.leistung-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* === CTA-BUTTON === */
.cta-contact {
  text-align: center;
  padding: 60px 20px 100px;
  background-color: #ffffff;
}

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

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

/* === SCROLL-ANIMATION === */
.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);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-leistungen h1 {
    font-size: 2.2rem;
  }

  .leistung-card {
    padding: 30px 20px;
  }

  .leistung-card .icon img {
    width: 50px;
  }

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