/* ========== Global Variables ========== */
:root {
  --bg-color: #121212;       /* richtig dunkles Anthrazit / Carbon Grau */
  --section-bg-color: #1a1a1a; /* etwas heller für Abwechslung */
  --text-color: #fff;
  --accent-color: #5f7247;
  --card-bg: #222;
  --border-color: #333;
  --hover-glow: rgba(255, 255, 255, 0.4);
}


/* ========== Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Orbitron', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.section,
.dark-section,
.kundenmeinungen-section,
#kontakt,
#galerie,
#anfahrt {
  background: radial-gradient(circle at center, var(--section-bg-color) 40%, rgba(0, 0, 0, 0.6) 100%);
  color: var(--text-color);
  padding: 5rem 2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}


/* ========== Global Elements ========== */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  text-shadow: 0 0 4px var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== Sections ========== */
.section, .dark-section, .kundenmeinungen-section, #kontakt, #galerie, #anfahrt {
  color: var(--text-color);
  padding: 5rem 2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section ul li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.section ul li:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* ========== Hero Section ========== */
.hero {
  height: 100vh;
  background: url('assets/banner.jpg') no-repeat center center/cover;
  background-color: #000; /* Schwarz */
  position: relative;
  color: var(--text-color);
  text-align: center;
}


.hero-content {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--text-color);
  text-shadow: 0 0 4px rgba(95, 114, 71, 0.2), 0 0 8px rgba(95, 114, 71, 0.1);
  transition: transform 0.1s ease-out, top 0.1s ease-out;
  position: relative;
  animation: olive-soft-glow 3.5s ease-in-out infinite;
}


@keyframes olive-soft-glow {
  0% {
    text-shadow: 0 0 4px rgba(95, 114, 71, 0.2), 0 0 8px rgba(95, 114, 71, 0.1);
  }
  50% {
    text-shadow: 0 0 8px rgba(95, 114, 71, 0.4), 0 0 16px rgba(95, 114, 71, 0.2);
  }
  100% {
    text-shadow: 0 0 4px rgba(95, 114, 71, 0.2), 0 0 8px rgba(95, 114, 71, 0.1);
  }
}

/* ========== Über uns Bereich clean ========== */
#ueber-uns {
  position: relative;
  background-color: var(--bg-color); /* gleiche Farbe wie die anderen Bereiche */
  color: var(--text-color);
  padding: 5rem 2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* damit das Pseudo-Element nix überlappt */
}

/* Fade oben drüber */
#ueber-uns::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* je nach Geschmack anpassen */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none; /* clickable bleibt alles normal */
  z-index: 1;
}

#ueber-uns .ueber-uns-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0;
  position: relative;
  z-index: 2; /* liegt über dem Fade */
}

.ueber-uns-bild {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
  transition: all 0.4s ease;
  display: block;
  border: 2px solid rgba(0, 0, 0, 0); /* Unsichtbar aber Platz bleibt */
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.ueber-uns-bild:hover {
  transform: scale(1.03);
  border-color: var(--accent-color); /* Farbe taucht sanft auf */
  box-shadow:
    0 0 8px var(--accent-color),
    0 0 16px rgba(95, 114, 71, 0.5),
    0 0 24px rgba(95, 114, 71, 0.4),
    0 0 32px rgba(95, 114, 71, 0.3);
  z-index: 3;
}


#ueber-uns p {
  max-width: 600px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

#ueber-uns p:hover {
  transform: scale(1.05);
  cursor: default;
  color: var(--accent-color);
  text-shadow:
    0 0 4px var(--accent-color),
    0 0 8px rgba(95, 114, 71, 0.2);
}

/* ========== Leistungen ========== */
#leistungen li {
  transition: all 0.3s ease;
  display: block;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-color);
}

#leistungen li:hover {
  color: var(--accent-color);
  transform: scale(1.05);
  cursor: default;
  text-shadow:
    0 0 4px var(--accent-color),
    0 0 8px rgba(95, 114, 71, 0.2);
}


/* ========== Galerie ========== */
.galerie-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px; /* bisschen weniger rund */
  border: 1px solid var(--border-color); /* sehr schmal */
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

/* Eleganter, enger Glow */
.galerie-container img:hover {
  border-color: #5f7247;
  box-shadow:
    0 0 6px #5f7247,
    0 0 12px rgba(95, 114, 71, 0.5),
    0 0 18px rgba(95, 114, 71, 0.4),
    0 0 24px rgba(95, 114, 71, 0.3);
  transform: scale(1.03);
  z-index: 2;
}




/* Electric Oliv Hover Effekt */
@keyframes olive-electric-pulse {
  0% {
    box-shadow:
      0 0 5px #5f7247,
      0 0 10px #5f7247,
      0 0 20px #5f7247,
      0 0 40px #5f7247;
  }
  50% {
    box-shadow:
      0 0 10px #5f7247,
      0 0 20px #5f7247,
      0 0 30px #5f7247,
      0 0 50px #5f7247;
  }
  100% {
    box-shadow:
      0 0 5px #5f7247,
      0 0 10px #5f7247,
      0 0 20px #5f7247,
      0 0 40px #5f7247;
  }
}

.galerie-container img:hover {
  animation: olive-electric-pulse 1.5s infinite alternate;
  border-color: var(--hover-glow);
  transform: scale(1.03);
  z-index: 2;
}


/* ========== Map ========== */
.map-container {
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  width: 101%;
  border: 1px solid #5f7247; /* Oliv Rahmen */
  transition: all 0.4s ease;
}

/* Kräftiger Oliv-Glow beim Hover */
.map-container:hover {
  box-shadow:
    0 0 8px #5f7247,
    0 0 16px rgba(95, 114, 71, 0.5),
    0 0 24px rgba(95, 114, 71, 0.4),
    0 0 32px rgba(95, 114, 71, 0.3);
  transform: scale(1.02);
}




/* ========== Meinungskarten ========== */
.kundenmeinungen-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.kundenmeinungen-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
}

.meinungskarte {
  background-color: var(--card-bg);
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  padding: 1.5rem;
  width: 300px;
  height: auto;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* normaler Shadow */
}

.meinungskarte:hover {
  border-color: #5f7247;
  box-shadow:
    0 0 4px #5f7247,
    0 0 8px rgba(95, 114, 71, 0.3),
    0 0 12px rgba(95, 114, 71, 0.2);
  transform: scale(1.01);
  z-index: 2;
}
.map-wrapper {
  padding: 8px; /* Abstand für Rahmen sichtbar */
  border: 1px solid #5f7247;
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  max-width: 1200px;
  margin: 2rem auto;
  overflow: hidden;
}

.map-wrapper:hover {
  box-shadow:
    0 0 8px #5f7247,
    0 0 16px rgba(95, 114, 71, 0.5),
    0 0 24px rgba(95, 114, 71, 0.4),
    0 0 32px rgba(95, 114, 71, 0.3);
  transform: scale(1.02);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 8px;
}


.meinungskarte p {
  color: var(--text-color);
  font-style: italic;
  font-size: 1rem;
}

.meinungskarte span {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: var(--accent-color);
}

.sterne {
  color: #f5b301;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  letter-spacing: 2px;
}
/* Animation definieren */
@keyframes olive-electric-pulse {
  0% {
    box-shadow:
      0 0 6px #5f7247,
      0 0 12px rgba(95, 114, 71, 0.5),
      0 0 18px rgba(95, 114, 71, 0.4);
  }
  50% {
    box-shadow:
      0 0 12px #5f7247,
      0 0 20px rgba(95, 114, 71, 0.5),
      0 0 26px rgba(95, 114, 71, 0.4);
  }
  100% {
    box-shadow:
      0 0 6px #5f7247,
      0 0 12px rgba(95, 114, 71, 0.5),
      0 0 18px rgba(95, 114, 71, 0.4);
  }
}

.meinungskarte:hover {
  border-color: #5f7247;
  animation: olive-electric-pulse 1.5s infinite alternate;
  transform: scale(1.02);
  z-index: 2;
}


/* Standard Card Look */
.meinungskarte {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  width: 300px;
  height: auto;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hover-Effekt nur bei Hover aktiv */
.meinungskarte:hover {
  border-color: #5f7247;
  animation: olive-electric-pulse 1.5s infinite alternate;
  transform: scale(1.01);
  z-index: 2;
}

/* ========== Formulare ========== */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto 0;
}

.kontakt-form input, .kontakt-form textarea {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.kontakt-form input,
.kontakt-form textarea {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Hover Effekt */
.kontakt-form input:hover,
.kontakt-form textarea:hover {
  border-color: #5f7247;
  box-shadow:
    0 0 4px rgba(95, 114, 71, 0.2),
    0 0 6px rgba(95, 114, 71, 0.15);
}

/* Fokus Effekt beim Reinklicken */
.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: #5f7247;
  box-shadow:
    0 0 6px #5f7247,
    0 0 12px rgba(95, 114, 71, 0.5),
    0 0 18px rgba(95, 114, 71, 0.4);
}



.kontakt-form button {
  background-color: var(--accent-color);
  color: #000; /* Schwarze Schrift bei normal */
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.kontakt-form button:hover {
  color: #ffffff; /* Weiß auf Glow */
  background-color: var(--accent-color);
  box-shadow:
    0 0 6px #5f7247,
    0 0 12px rgba(95, 114, 71, 0.5),
    0 0 18px rgba(95, 114, 71, 0.4);
  transform: scale(1.05);
}

#kontakt .kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;  /* vorher 500px */
  width: 100%;
  margin: 3rem auto 0;
}

/* ========== Karten, Galerie & Bilder ========== */
.galerie-container img, {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  border-radius: 12px;
}

.galerie-container img:hover {
  border-color: var(--hover-glow);
  box-shadow: 0 0 6px var(--hover-glow);
  transform: scale(1.02);
}

.galerie-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== Footer ========== */
.footer {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 1.5rem 1rem;
  text-align: center;
}

.footer-links a {
  color: #888;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 4px var(--accent-color);
}

/* ========== Scroll Indicator ========== */
.scroll-indicator {
  color: var(--accent-color);
  filter: drop-shadow(0 0 3px var(--accent-color));
  transition: opacity 0.3s ease;
}
.scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}

.arrow-icon {
  stroke: currentColor;
  stroke-width: 2.5; /* vorher 2 */
  width: 44px;      /* vorher 36 */
  height: 44px;     /* vorher 36 */
  animation: bounce 2s infinite;
}


@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
/* ========== Cookie Banner ========== */

.cookie-banner-hero {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #fff;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 8px rgba(95, 114, 71, 0.4);
}

.cookie-banner-hero.show {
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-hero button {
  background: var(--accent-color);
  color: #000;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.cookie-banner-hero button:hover {
  background: #6d8652;
  color: #fff;
  box-shadow: 0 0 6px var(--accent-color);
}





/* ========== WhatsApp Button ========== */
.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

.whatsapp-button img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

.whatsapp-button img:hover {
  transform: scale(1.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  text-align: center;
  color: var(--accent-color);
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

#form-success {
  opacity: 0;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  max-width: 600px;
  margin: 5rem auto;
  z-index: 999;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#form-success.show {
  opacity: 1;
  transform: scale(1);
  animation: popFade 0.4s ease-out forwards;
}

@keyframes popFade {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

