/* ── Header ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-top {
  background: var(--blau-mittel);
  padding: 0.4rem 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}
.header-top-info a { color: rgba(255,255,255,0.8); }
.header-top-info a:hover { color: var(--orange); }

.header-notfall {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--weiss);
  color: var(--blau) !important;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
}
.header-notfall:hover { background: var(--orange-dunkel); color: var(--weiss) !important; }

.header-main {
  background: var(--blau);
  padding: 0.9rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo img {
  height: 50px;
  width: auto;
}
.logo-text {
  display: none;
  flex-direction: column;
}
.logo-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--weiss);
  line-height: 1;
}
.logo-name span { color: var(--orange); }
.logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}
.header-nav a:hover,
.header-nav a.aktiv {
  color: var(--weiss);
  background: rgba(255,255,255,0.1);
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--orange);
  color: var(--weiss) !important;
  padding: 0.65rem 0.5rem;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(255,102,0,0.4);
  transition: all var(--transition);
  white-space: nowrap;
}
.header-tel:hover {
  background: var(--orange-dunkel);
  color: var(--weiss) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(255,102,0,0.5);
}

/* Scrolled header */
#header.scrolled .header-main {
  padding: 0.6rem 0;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--weiss);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
.hamburger.aktiv span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.aktiv span:nth-child(2) { opacity: 0; }
.hamburger.aktiv span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--blau-mittel);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.35s ease;
    box-shadow: -4px 0 30px rgba(0,0,0,0.3);
  }
  .header-nav.aktiv { right: 0; }
  .header-nav a { width: 100%; font-size: 1.1rem; padding: 0.75rem 1rem; }
  .header-top-info .info-item { display: none; }
}
