:root {
  --primary-color: #0073e6;
  --accent-color: #005bb5;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  --nav-bg: rgba(10, 10, 10, 0.65); /* dunkler als vorher */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #f9f9f9;
  color: var(--text-dark);
}

/* ---------- HEADER / NAVIGATION ---------- */
.nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo leicht überlappend zum Hero-Bereich */
.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  position: relative;
  margin-bottom: -30px; /* visuelle Überlappung */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.15);
}

.brand-name {
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

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

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.3s;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 25px;
    width: 240px;
    padding: 30px;
    height: calc(100vh - 70px);
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .burger {
    display: flex;
  }

  .brand-logo {
    height: 55px;
    margin-bottom: -10px;
    top: 5px;
  }

  .hero {
    margin-top: 70px;
  }
}

/* ---------- SEITENINHALT ---------- */
.content {
  max-width: 1000px;
  margin: 90px auto 100px;
  padding: 0 20px;
}

.page {
  display: none;
  animation: fadeIn 0.5s ease;
}

.page.active {
  display: block;
}

.page h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page p {
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.page ul {
  list-style: none;
  padding: 0;
}

.page ul li {
  margin: 5px 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Aktiver Menüpunkt farblich markieren */
.nav-links a.active {
  color: var(--primary-color);
}

/* ---------- FACEBOOK POSTS LIST (Schatten nur hinter der Card) ---------- */
.fb-feed {
  display: flex;
  flex-direction: row;
  gap: 35px;
  align-items: center;
  margin-top: 40px;
}

.fb-post-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18); /* starker, weicher Hintergrund-Schatten */
  padding: 18px;
  width: 100%;
  max-width: 580px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fb-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 55px rgba(0, 0, 0, 0.25);
}

/* iframe bleibt flach ohne eigenen Schatten */
.fb-post-card iframe {
  width: 100%;
  border: none;
  border-radius: 14px;
  box-shadow: none;
}

/* --- Dropdown Menü --- */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  cursor: pointer;
  display: inline-block;
  line-height: 1.4;
  position: relative;
  top: 1px;
}

/* Dropdown-Menü */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 15, 15, 0.97);
  display: none;
  flex-direction: column;
  min-width: 180px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 999;
  padding-top: 6px;
}

.dropdown-menu a {
  color: var(--text-light);
  padding: 10px 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  display: block;
}

/* Hover-Effekt */
.dropdown-menu a:hover {
  background: var(--primary-color);
  color: #ffffff; /* bleibt weiß */
}

/* Entfernt Browser-Fokus-Hintergrund */
.dropdown-menu a:focus,
.dropdown-menu a:active {
  outline: none;
  background: var(--primary-color);
  color: #ffffff;
}

/* Sichtbar bei Hover */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: flex;
}

/* Für Mobilgeräte */
@media (max-width: 1100px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding-top: 0;
  }

  .dropdown-menu a {
    padding-left: 25px;
  }

  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}


/* --- Responsive Facebook Posts --- */
.fb-feed {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.fb-post-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 10px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

/* iframe an Bildschirmbreite anpassen */
.fb-post-card iframe {
  width: 100% !important;
  max-width: 100%;
  border: none;
  overflow: hidden;
  aspect-ratio: 1 / 1.2; /* automatische Höhe */
}

/* Mobilgeräte-Optimierung */
@media (max-width: 600px) {
  .fb-feed {
    flex-direction: column;
    align-items: center;
  }

  .fb-post-card {
    max-width: 95%;
    padding: 8px;
  }
}
