/* styles-clean.css | Version 2025-07-07 | optimiert & aufgeräumt */

/* ------------------------------------------------------ */
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

/* ------------------------------------------------------ */
/* Globals */
body {
  margin: 0;
  font-family: 'Merriweather', serif;
  color: #fff;
  line-height: 1.6;
  background-color: #1E3A5F;
}

.main-nav {
  transition: transform 0.9s ease-in-out;
}

/* ------------------------------------------------------ */
/* Hero Startseite */
.hero {
  background: url('fotos/header1.jpg') center 55% /cover no-repeat;
  color: white;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: center;
  transform: translateY(-100px);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  margin-top: 200px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1250px) {
  .hero {
    padding-top: 120px;
  }

  .hero-content {
    transform: translateY(0);
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-top: 20px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .whatsapp-button {
    margin-top: 10px;
  }
}

/* ------------------------------------------------------ */
/* Startseite - Leistungen */
.startseite-leistungen {
  padding: 40px 15px 120px;
  text-align: center;
  background-color: #1E3A5F;
}

.startseite-leistungen-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #FFD700;
  font-weight: bold;
}

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

.startseite-leistung {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.startseite-leistung:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.startseite-leistung h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #FFD700;
}

.startseite-leistung h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.startseite-leistung h3 a:hover {
  color: #FFC107;
}

.startseite-leistung p {
  font-size: 1rem;
  line-height: 1.6;
  color: #E0E0E0;
}

@media (max-width: 768px) {
  .startseite-leistungen-title {
    font-size: 2rem;
  }

  .startseite-leistung h3 {
    font-size: 1.3rem;
  }

  .startseite-leistung p {
    font-size: 0.95rem;
  }
}

/* ------------------------------------------------------ */
/* Weitere CSS-Sektionen */

/* Ab hier: Problems, CTA, Footer, Image-Sections, Karussell usw. aus der alten Datei */

/* Problems Section */
.problems-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #1E3A5F;
  color: #ffffff;
}

.problems-section-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problems-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #FFD700;
  font-weight: bold;
}

.problems-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.problems-section ul li {
  font-size: 1.2rem;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  text-align: center;
  font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.problems-section ul li:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.problems-section p {
  font-size: 1.4rem;
  margin-top: 20px;
  color: #FFD700;
  font-weight: bold;
}

/* Call-to-Action Section */
.call-to-action-section {
  background: linear-gradient(135deg, #1E3A5F, #4A90E2);
  padding: 60px 15px;
  text-align: center;
  color: #ffffff;
}

.call-to-action-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.call-to-action-container h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.call-to-action-container p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.call-to-action-container .cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1E3A5F;
  text-decoration: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.call-to-action-container .cta-button:hover {
  background-color: #FFC107;
  color: #ffffff;
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: #1E3A5F;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

.footer-nav a {
  color: #FFD700;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Image Section */
.image-section {
  background: url('fotos/header2.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.overlay-text {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  width: 80%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.overlay-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.overlay-text p {
  font-size: 1.4rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .image-section {
    height: 30vh;
  }

  .overlay-text {
    padding: 20px;
    font-size: 1rem;
  }

  .overlay-text h2 {
    font-size: 1.8rem;
  }

  .overlay-text p {
    font-size: 0.9rem;
  }
}

/* Zusätzliche Bild-Sektion */
.additional-image {
  background: url('fotos/fabian-kato2.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: 20;
  position: relative;
  background-position: center 58%;
}

.additional-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.additional-image .overlay-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.additional-image .overlay-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.additional-image .overlay-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Kundenbewertungen & Karussell */
#kundenbewertungen {
  padding: 60px 20px;
  background-color: #f0f4fa;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

#kundenbewertungen h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #0056b3;
}

.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 30px);
  margin: 0 15px;
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #003366;
  box-sizing: border-box;
}

.carousel-item .zitat {
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #003366;
}

.carousel-item .kunde {
  font-weight: bold;
  color: #0056b3;
  font-size: 1.1rem;
}

.sterne {
  color: #f7d716;
  font-size: 1.3rem;
  margin: 10px 0;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0056b3;
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel button:hover {
  opacity: 1;
}

.carousel button.prev {
  left: 10px;
}

.carousel button.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
  }

  .carousel-item {
    flex: 0 0 80vw;
    scroll-snap-align: center;
    margin: 0 10px;
    padding: 20px;
    font-size: 1rem;
  }

  .carousel button.prev,
  .carousel button.next {
    display: block;
    font-size: 1.2rem;
    padding: 8px 10px;
    top: 45%;
    width: 36px;
    height: 36px;
  }

  .carousel button.prev {
    left: 5px;
  }

  .carousel button.next {
    right: 5px;
  }

  #kundenbewertungen h2 {
    font-size: 2rem;
  }

  .carousel-item .zitat {
    font-size: 1.1rem;
  }

  .carousel-item .kunde {
    font-size: 1rem;
  }
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #1c2e4a;
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    z-index: 10000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.cookie-banner a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #FFD700;
    color: #1c2e4a;
    border: none;
    border-radius: 5px;
    padding: 5px 12px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cookie-banner button:hover {
    background-color: #FFC107;
    color: white;
}

.cookie-banner.hidden {
    display: none;
}

