/* =====================================
   HEADER (Fixed & sauber)
===================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Abstand wegen fixed header */
body {
  padding-top: 120px;
}

/* Layout */
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 1.2rem 0;
  transition: padding 0.3s ease;
}

/* Logo */
.header-left img {
  height: 85px;
  width: auto;
  display: block;
  transition: height 0.25s ease;
}

.site-header.scrolled .header-inner {
  padding: 0.8rem 0;
}

.site-header.scrolled .header-left img {
  height: 75px;
}

/* =====================================
   NAVIGATION
===================================== */

.header-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav ul li {
  position: relative;
}

.header-nav > ul > li > a {
  text-decoration: none;
  color: var(--gvbe-blue);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  position: relative;
  transition: color 0.25s ease;
}

.header-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--gvbe-red);
  transition: width 0.25s ease;
}

.header-nav > ul > li:hover > a::after {
  width: 100%;
}

.header-nav a:hover {
  color: var(--gvbe-red);
}

/* =====================================
   DROPDOWN
===================================== */

.has-dropdown .dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border-radius: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  box-shadow: 0 12px 25px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown .dropdown li {
  display: block;
}

.has-dropdown .dropdown a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  color: var(--gvbe-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

.has-dropdown .dropdown a:hover {
  background: #f6f8fb;
  padding-left: 1.35rem;
  color: var(--gvbe-red);
}

/* =====================================
   HEADER RIGHT
===================================== */

.header-right {
  display: flex;
  align-items: center;
}

/* =====================================
   BUTTON
===================================== */

.btn-primary {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  background: var(--gvbe-red);
  color: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #b5121b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* =====================================
   BURGER
===================================== */

.burger {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 28px;
  height: 3px;
  background: var(--gvbe-blue);
  display: block;
  transition: all 0.3s ease;
}

/* Animation */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {

  .header-nav {
    display: none;
  }

  .header-right {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 1.5rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  }

  .header-nav.open ul {
    flex-direction: column;
    gap: 0;
  }

  .header-nav.open li {
    padding: 1rem 0;
    text-align: center;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

}

/* =====================================
   FOOTER
===================================== */

.site-footer {
  background: var(--gvbe-blue);
  color: #ffffff;
  padding: 3rem 0 0;
  margin-top: 4rem;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
}

/* Linke Spalte */
.footer-left {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Navigation Mitte */
.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-center li {
  margin-bottom: 0.5rem;
}

/* Rechte Spalte Logo */
.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-right img {
  height: 90px;
  width: auto;
  background: #ffffff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* OpenStreetMap */
.footer-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  margin-top: 2.5rem;
}

/* =====================================
   FOOTER RESPONSIVE
===================================== */

@media (max-width: 768px) {

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
    margin-top: 1.5rem;
  }

}