/* Desktop: Termin vereinbaren als roter Button */
/* Desktop: Termin vereinbaren als kompakter, abgerundeter Button wie ein Menü-Item */
.desktop-header .header-btn {
  background: #c2001a;
  color: #fff !important;
  border-radius: 18px;
  padding: 7px 18px 7px 18px;
  font-weight: 600;
  font-size: 19px;
  margin-left: 18px;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  display: flex;
  align-items: center;
  height: 38px;
  box-sizing: border-box;
}
.desktop-header .header-btn:hover {
  background: #a00016;
  color: #fff;
}
@media (max-width: 1024px) {
  .desktop-header .header-btn {
    background: none;
    color: inherit !important;
    padding: 0;
    margin-left: 0;
    border-radius: 0;
    font-weight: 400;
  }
}
/* Desktop/Mobile Sichtbarkeit */
.desktop-header { display: flex; }
.mobile-header { display: none; }

@media (max-width: 1024px) {
    .desktop-header { display: none !important; }
    .mobile-header { display: block !important; }
}
/* Desktop/Mobile Sichtbarkeit */
.desktop-header { display: flex; }
.mobile-header { display: none; }

@media (max-width: 1024px) {
    .desktop-header { display: none !important; }
    .mobile-header { display: block !important; }
}

/* Mobile Header Bar und Drawer */
.headeritems-mobile {
    width: 100%;
    background: white;
}
.mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
}
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: black;
    border-radius: 2px;
    transition: all 0.3s;
}
/* Drawer ist initial ausgeblendet und erscheint mit .open */
#mobile-nav-drawer {
  display: none; /* standardmäßig versteckt */
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

/* Wenn Drawer geöffnet wird */
#mobile-nav-drawer.open {
  display: block;
      right: 0;
    pointer-events: auto;
}
.mobile-nav-drawer nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    width: 100%;
}
.mobile-nav-drawer nav ul li {
    width: 100%;
}
.mobile-nav-drawer nav ul li a {
    color: black;
    font-size: 1.3rem;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 6px;
    transition: color 0.2s;
    display: block;
    width: 100%;
}
.mobile-nav-drawer nav ul li a:hover {
    background: #fff;
    color: #c2001a;
}

@media (max-width: 600px) {
    .mobile-header-bar {
        padding: 6px 6px;
    }
    .SY-header-mobile {
        width: 36px;
    }
    .mobile-nav-drawer {
        width: 90vw;
        min-width: 180px;
        padding: 30px 10px 10px 10px;
    }
    .mobile-nav-drawer nav ul li a {
        color: black;
        font-size: 1.05rem;
        padding: 10px 0;
    }
}