/* ========== BASIS ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #fff;
  background: linear-gradient(135deg, #1e3c72, #2a5298, #6dd5ed);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========== NAVBAR ========== */
.navbar {
  width: 100%;
  height: 70px;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-left { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
.nav-left img { height: 50px; transition: height 0.3s ease; }

.nav-right { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 2rem; }

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }

.nav-links li a {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #1e90ff;
}

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: #2d2d2d; border-radius: 5px; transition: all 0.3s ease; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background: #fff;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: max-height 0.5s ease;
  }
  .nav-links.active { max-height: 500px; }
  .nav-links li { margin: 1rem 0; }
  .hamburger { display: flex; }
}

/* Hero Bereich – 2 Bilder besser zentriert */
.hero-grid {
  position: relative;
  width: 100%;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Zwei Bilder nebeneinander mit sauberer Ausrichtung */
.hero-images {
  display: flex;
  width: 100%;
  height: 100%;
}

.hero-images img {
  flex: 1;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* exakt mittig */
  filter: brightness(0.85);
  transition: transform 6s ease, filter 0.8s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.1); /* feine Trennungslinie */
}

/* Bewegungseffekt – dezent */
.hero-images img:first-child {
  animation: imageDrift1 18s ease-in-out infinite alternate;
}
.hero-images img:last-child {
  animation: imageDrift2 18s ease-in-out infinite alternate;
}

@keyframes imageDrift1 {
  0% { transform: scale(1.05) translateX(0); }
  50% { transform: scale(1.1) translateX(-10px); }
  100% { transform: scale(1.05) translateX(0); }
}

@keyframes imageDrift2 {
  0% { transform: scale(1.05) translateX(0); }
  50% { transform: scale(1.1) translateX(10px); }
  100% { transform: scale(1.05) translateX(0); }
}

/* Halbtransparenter Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

/* Textbereich */
.hero-text {
  background: rgba(255, 255, 255, 0.12);
  padding: 2rem 3rem;
  border-radius: 20px;
  color: #fff;
  max-width: 800px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  animation: fadeInUp 1s ease forwards;
  z-index: 2;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #e0e0e0;
}

/* Animation fürs Einblenden */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 📱 Mobile Ansicht */
@media (max-width: 768px) {
  .hero-grid {
    height: 70vh;
  }

  .hero-images {
    flex-direction: column;
  }

  .hero-images img {
    width: 100%;
    height: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero-text {
    padding: 1.5rem;
    border-radius: 15px;
    margin: 0 1rem;
  }

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

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

@media (max-width: 480px) {
  .hero-grid {
    height: 60vh;
  }

  .hero-text {
    padding: 1rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }
}

/* ========== KONTAKTFORMULAR ========== */
.section-pad { padding: 70px 20px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  max-width: 600px;
  margin: 0 auto;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #fff;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.btn-cta {
  background-color: #ff5722;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: #ff784e;
  transform: translateY(-3px);
}

/* ========== MAP SECTION ========== */
.map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.map-frame iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* === Footer (identisch zur Startseite) === */
.footer {
  background: linear-gradient(to top, #ffffff, #f0f8ff);
  color: #2d2d2d;
  padding: 50px 20px;
  font-family: "Segoe UI", sans-serif;
  border-top: 3px solid;
  border-image: linear-gradient(to right, #7ec8ff, #ffffff, #7ec8ff);
  border-image-slice: 1;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}
.footer-left, .footer-center, .footer-right {
  flex: 1 1 250px;
  text-align: center;
}
.footer-left {
  font-style: italic;
  font-size: 1.1rem;
  color: #7ec8ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-center h4, .footer-right h4 {
  margin-bottom: 10px;
  color: #7ec8ff;
}
.footer-right .footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
  padding: 0;
}
.footer-right .footer-nav li a {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 500;
  transition: all 0.3s;
  padding: 5px 10px;
  border-radius: 8px;
}
.footer-right .footer-nav li a:hover {
  background: #7ec8ff;
  color: #fff;
  transform: translateY(-3px);
}
.footer-right p {
  font-size: 0.9rem;
  color: #555;
}
.footer .credit {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #7ec8ff;
  font-style: italic;
}
.footer .credit strong {
  color: #1e90ff;
}
/* Kontaktinformationen */
.contact-info {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  color: #fff;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
}

.contact-card h4 {
  color: #7ec8ff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contact-card p {
  margin: 0.4rem 0;
  color: #e8e8e8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-card a {
  color: #7ec8ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

