/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3,
.navbar,
.cta-btn,
.footer,
.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(30, 30, 30, 0.85);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
}

.logo {
  font-weight: bold;
}

.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar nav a {
  color: white;
  text-decoration: none;
}

.navbar nav a:hover {
  text-decoration: underline;
  color: #449B23;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: grayscale(100%) brightness(60%);
}

.hero-text {
  position: relative;
  z-index: 1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  width: 100%;
  flex-direction: column;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 3rem;
}

.cta-btn {
  margin-top: 1rem;
  background: #666;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #449B23;
}

/* ========== Leistungen / Features ========== */
.features {
  padding: 6rem 2rem; /* mehr Weißraum oben/unten */
  background: #fff;
  text-align: center;
}

.features h2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 10px; /* größerer Abstand zwischen den Boxen */
  justify-content: center;
  margin-top: 2rem;
}

.feature {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px; /* mehr Weißraum innerhalb der Box */
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.feature h3, .feature h4 {
  margin-bottom: 0.75rem;
  color: #449B23;
}

.feature p {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #666;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #449B23;
}



/* ========== Anwendungsbereiche ========== */
.anwendungsbereiche {
  background-color: #f2f2f2;
  padding: 4rem 2rem;
  text-align: center;
}

.anwendungsbereiche h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.anwendungsbereich-slider {
  max-width: 1000px;
  margin: 0 auto;
}

.anwendungsbereich-slide {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  padding: 2rem;
  gap: 2rem;
  text-align: left;
}

.slide-image {
  flex: 1 1 40%;
}

.slide-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.slide-text {
  flex: 1 1 60%;
}

.slide-text h3 {
  margin-bottom: 1rem;
  color: #449B23;
  font-size: 1.6rem;
}

.text-content {
  text-align: justify;
  line-height: 1.7;
  color: #444;
}

.text-content ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.text-content li {
  margin-bottom: 0.5rem;
}

.swiper-pagination-bullet-active {
  background-color: #449B23;
}

@media (max-width: 768px) {
  .anwendungsbereich-slide {
    flex-direction: column;
    padding: 1.5rem;
  }
}

/* Pfeile außen wie bei Referenzen */
.anwendungsbereiche-wrapper {
  position: relative;
  width: 100%;
}

/* Pfeil-Kreise mit Schatten */
.anwendungsbereiche-wrapper .swiper-button-prev,
.anwendungsbereiche-wrapper .swiper-button-next {
  width: 48px;
  height: 48px;
  background-color: rgba(200,200,200,0.5); /* grauer Kreis */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* leichter Schatten */
}

/* Hover-Effekt */
.anwendungsbereiche-wrapper .swiper-button-prev:hover,
.anwendungsbereiche-wrapper .swiper-button-next:hover {
  background-color: rgba(200,200,200,0.8);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3); /* Schatten beim Hover etwas größer */
}

/* Pfeile selbst kleiner machen */
.anwendungsbereiche-wrapper .swiper-button-prev::after,
.anwendungsbereiche-wrapper .swiper-button-next::after {
  font-size: 20px !important; /* Größe des Pfeils */
  color: #fff !important;
}

/* Links/Rechts außen */
.anwendungsbereiche-wrapper .swiper-button-prev {
  left: -10px;
}
.anwendungsbereiche-wrapper .swiper-button-next {
  right: -10px;
}





/* ========== Über uns ========== */
.about {
  padding: 4rem 2rem;
  background: #eee;
  text-align: justify;
 
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  color: #444;
}
.about h2 {
	text-align: center;
	margin-bottom: 2rem;
    font-size: 2rem;
}

.about h3 {
	text-align: center
}
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  color: #444;
  position: relative;
  overflow: auto; /* WICHTIG: sorgt dafür, dass Container die Höhe des gefloateten Bildes berücksichtigt */
}

.about-float-image {
  float: right;
  margin: 0 0 1rem 1rem;
  width: 300px;
  border-radius: 8px;
}



/* ========== Referenzen ========== */
/* ===== Slider Styling ===== */
.references {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.references h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.references .referenzen-slider {
  padding: 2rem 0;
}

.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.slide-content .images {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.slide-content .images img {
  width: calc((100% - 2rem) / 3);
  max-width: 200px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.slide-content .images img:hover {
  transform: scale(1.05);
}

.slide-text h3 {
  color: #449B23;
  font-size: 1.5rem;
}

/* Swiper Pfeile anpassen */
.references .swiper-button-prev,
.references .swiper-button-next {
  width: 48px;
  height: 48px;
  background-color: rgba(200,200,200,0.5); /* grauer Kreis */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* leichter Schatten */
}

/* Hover-Effekt */
.references .swiper-button-prev:hover,
.references .swiper-button-next:hover {
  background-color: rgba(200,200,200,0.8);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3); /* Schatten beim Hover größer */
}

/* Pfeile selbst kleiner machen */
.references .swiper-button-prev::after,
.references .swiper-button-next::after {
  font-size: 20px !important; /* Größe des Pfeils */
  color: #fff !important;
}

/* Links/Rechts außen */
.references .swiper-button-prev {
  left: 10px;
}
.references .swiper-button-next {
  right: 10px;
}

/* Optional: Mobile, Pfeile näher an Inhalt */
@media (max-width: 768px) {
  .references .swiper-button-prev {
    left: 5px;
  }
  .references .swiper-button-next {
    right: 5px;
  }
}

.swiper-pagination-bullet-active {
  background-color: #449B23;
}


/* ===== Hover-Preview Box ===== */
.hover-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80vw;
  max-height: 80vh;
  background: rgba(0,0,0,0.8);
  padding: 10px;
  border-radius: 10px;
  z-index: 9999;
  display: none;
  opacity: 0;
  pointer-events: none; /* Verhindert Flackern */
  transition: opacity 0.3s ease;
}

.hover-preview.show {
  display: block;
  opacity: 1;
}

.hover-preview img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: block;
}


/* ========== Kontakt ========== */
.contact {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;

  /* Neuer Schatten */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}


.contact h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #aaa;
  background: white;
  border-radius: 4px;
  font-size: 1rem;
}

.contact textarea {
  resize: vertical;
  min-height: 120px;
}

.contact button {
  padding: 0.8rem;
  background: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #555;
}

/* ========== Footer ========== */
.footer {
  background: #222;
  color: #fff;
  padding: 2rem;
  font-size: 14px;
  position: relative;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 200px;
  margin: 1rem;
}

.footer-center {
  flex: 2; /* Mittlerer Bereich größer */
  text-align: center;
}

.footer-center img {
  max-width: 80px;
  height: auto;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Rechtliches */
.footer-left h4 {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.footer-legal a {
  display: block;
  color: #fff;
  margin: 0.4rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #449B23;
  
}

/* Soziale Medien */
.footer-right {
  text-align: center;
}

.footer-right p {
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-block;
  filter: invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
  filter: invert(62%) sepia(89%) saturate(500%) hue-rotate(75deg);
}

.footer-social img {
  width: 20px;
  height: 20px;
  margin: 0.3rem;
  vertical-align: middle;
}

.footer-logo {
  max-width: 60px;
  height: auto;
  margin: 0 auto 0.5rem;
  display: block;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .feature-list,
  .references .gallery {
    flex-direction: column;
    align-items: center;
  }

  .about p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .navbar nav ul {
    flex-direction: column;
    gap: 1rem;
  }

}
/* ========== Scroll-to-Top Button ========== */
#nachObenBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #888888; /* Grau */
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

#nachObenBtn.visible {
  opacity: 1;
  pointer-events: auto;
}

#nachObenBtn::before {
  content: '';
  border: solid white;
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 10px;
  transform: rotate(-135deg);
}
#nachObenBtn:focus {
  outline: 3px solid #449B23;
  outline-offset: 2px;
}

/* ========== Cookie-Banner ========== */
#cookieOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}

#cookieBanner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background: #222;
  color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  z-index: 9999;
  display: none;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

#cookieBanner a {
  color: #449B23; /* dein Link-Grün */
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cookie-buttons button {
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 5px;
  background-color: #a6a6a6;
  color: white;
  transition: background 0.3s ease;
}

.cookie-buttons button:hover {
  background-color: #449B23;
}



/* ========== Kontakt (3-geteilt) ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  font-size: 1rem;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 1.5rem;
}

.contact-form button {
  padding: 0.9rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #555;
}

.contact-address {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== footer social ========== */
.footer-social {
  margin-top: 2rem;
  text-align: center;
}

.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-social p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: invert(1); /* macht SVGs weiß auf dunklem Hintergrund */
  transition: transform 0.2s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: invert(62%) sepia(89%) saturate(500%) hue-rotate(75deg); /* grünlicher Hover-Effekt */
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

.footer-left {
  flex: 1;
  min-width: 220px;
}

.footer-right {
  text-align: right;
  min-width: 200px;
}

.footer-right h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.footer-right p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: invert(1);
  transition: transform 0.2s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: invert(62%) sepia(89%) saturate(500%) hue-rotate(75deg);
}

/