/* ===================================================
   Global
=================================================== */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

/* Seitenhintergrund */
.body-bg {
  background: url('../img/bild1.png') no-repeat center center fixed;
  background-size: cover;
}

/* ===================================================
   Navbar
=================================================== */

.custom-navbar {
  background: rgba(0, 25, 80, 0.95);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-name {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Navigation Links */
.nav-link {
  color: #ffffff !important;
  font-weight: 500;
  position: relative;
  text-align: center;
}

/* Unterstreichung beim Hover */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ffffff;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===================================================
   Dropdown Menü (Leistungen)
=================================================== */

.dropdown-menu {
  background: rgba(0, 35, 90, 0.95);
  border: none;
  text-align: center;
  backdrop-filter: blur(6px);
}

.dropdown-item {
  color: #ffffff;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #0d6efd;
  color: #ffffff;
}

/* Desktop: Dropdown per Hover */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ===================================================
   Hero Bereich
=================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding-top: 16vh;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}

/* ===================================================
   Content (z. B. Leistungen-Seite)
=================================================== */

.content {
  padding: 4rem 0;
}

.content h2 {
  margin-top: 3rem;
  font-weight: 600;
}

.content p {
  max-width: 800px;
  opacity: 0.9;
}

/* ===================================================
   Footer
=================================================== */

.site-footer {
  background: linear-gradient(135deg, #002a66, #003c8f);
  padding: 4rem 0 2.5rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.site-footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
}

/* ===================================================
   🔧 KONTAKTSEITE – EINZIGE ERGÄNZUNG
   (Abstand verkleinern, sonst nichts ändern)
=================================================== */

.kontakt-seite .hero {
  min-height: auto;        /* hebt 100vh NUR hier auf */
  padding-bottom: 1rem;   /* kleiner Abstand nach unten */
}

.kontakt-seite .content {
  padding-top: 1rem;      /* weniger Abstand zum Formular */
 
}

/* ===================================================
   🔧 LEISTUNGSSEITE – ABSTAND FIX
   (gleiche Erkenntnis wie Kontaktseite)
=================================================== */

.leistungen-seite .hero {
  min-height: auto;        /* hebt 100vh nur hier auf */
  padding-bottom: 1.5rem; /* etwas Luft unter der Headline */
}

.leistungen-seite .content {
  padding-top: 1.5rem;    /* Inhalt rückt näher nach oben */
}
/* ===================================================
   📱 HANDY HOCHFORMAT – MEHR SEITENABSTAND
   (nur Portrait, sonst nichts ändern)
=================================================== */

@media (max-width: 768px) and (orientation: portrait) {
  .kontakt-seite .content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
/* ===================================================
   ⚖️ RECHTSSEITEN – IMPRESSUM & DATENSCHUTZ
   (Hero-Abstand deutlich reduzieren)
=================================================== */

.recht-seite .hero {
  min-height: auto;        /* hebt 100vh auf */
  padding-top: 10vh;      /* deutlich weniger Abstand */
  padding-bottom: 1rem;
}

.recht-seite .content {
  padding-top: 1.5rem;    /* Text näher an Überschrift */
}
